Add remaining parts of core template structure

This commit is contained in:
James Graham
2020-01-30 13:44:12 +00:00
parent ab1762c180
commit 61a123f508
8 changed files with 329 additions and 5 deletions

View File

@@ -14,8 +14,17 @@ 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 include, path
from . import views
urlpatterns = [
path('admin/', admin.site.urls),
path('',
include('django.contrib.auth.urls')),
path('',
views.IndexView.as_view(),
name='index'),
]