Fix incorrectly configured core URL and app label
This commit is contained in:
parent
cebb308047
commit
7b33789771
|
@ -10,7 +10,8 @@ the next big thing our team develops.
|
||||||
1. Delete the `.git` folder
|
1. Delete the `.git` folder
|
||||||
1. Remove/add anything as you see fit
|
1. Remove/add anything as you see fit
|
||||||
1. Initialize as a new git repository for your own project
|
1. Initialize as a new git repository for your own project
|
||||||
1. DONE.
|
1. Run the project using `python manage.py runserver` and you should see the default
|
||||||
|
success page provided by Django at [http://127.0.0.1:8000/](http://127.0.0.1:8000/).
|
||||||
|
|
||||||
|
|
||||||
### Creating an App
|
### Creating an App
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
app_name = "core"
|
||||||
|
|
||||||
|
urlpatterns = []
|
|
@ -4,5 +4,5 @@ from django.urls import (
|
||||||
)
|
)
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
path("", include("apps.core.urls", "core")),
|
path("", include("apps.core.urls")),
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue