Template + Bootstrap

This commit is contained in:
Nadege
2019-11-05 15:20:22 +01:00
parent 0a3c1d8d26
commit b1254fc736
7 changed files with 78 additions and 3 deletions
+1
View File
@@ -37,6 +37,7 @@ INSTALLED_APPS = [
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'posts'
]
MIDDLEWARE = [
+2 -1
View File
@@ -14,7 +14,8 @@ Including another URLconf
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import include, path
from django.urls import path,include
from posts import views
urlpatterns = [
path('posts/', include('posts.urls')),