djangoprojekt
This commit is contained in:
parent
1e7818c3b3
commit
661e24eff6
@ -37,6 +37,7 @@ INSTALLED_APPS = [
|
||||
'django.contrib.sessions',
|
||||
'django.contrib.messages',
|
||||
'django.contrib.staticfiles',
|
||||
'posts'
|
||||
]
|
||||
|
||||
MIDDLEWARE = [
|
||||
|
@ -14,8 +14,9 @@ Including another URLconf
|
||||
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
|
||||
"""
|
||||
from django.contrib import admin
|
||||
from django.urls import path
|
||||
from django.urls import path, include
|
||||
|
||||
urlpatterns = [
|
||||
path('admin/', admin.site.urls),
|
||||
path('posts', include('posts.urls'))
|
||||
]
|
||||
|
0
news/posts/migrations/__init__.py
Normal file
0
news/posts/migrations/__init__.py
Normal file
Loading…
x
Reference in New Issue
Block a user