From d34fb18949f2dc1b1c3c161e5d0c0fa856b9c822 Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Sat, 29 Jun 2019 09:25:57 -0500 Subject: [PATCH] rename 'home' view as 'index', fixes DEBUG page behavior --- dr_botzo/urls.py | 2 +- templates/base.html | 2 +- templates/index.html | 2 +- templates/registration/registration_base.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dr_botzo/urls.py b/dr_botzo/urls.py index 067163d..e0a8a41 100644 --- a/dr_botzo/urls.py +++ b/dr_botzo/urls.py @@ -11,7 +11,7 @@ admin.sites.site = admin.site admin.autodiscover() urlpatterns = [ - url(r'^$', TemplateView.as_view(template_name='index.html'), name='home'), + url(r'^$', TemplateView.as_view(template_name='index.html'), name='index'), url(r'^dice/', include('dice.urls')), url(r'^dispatch/', include('dispatch.urls')), diff --git a/templates/base.html b/templates/base.html index 6a5cddc..e9c4bc4 100644 --- a/templates/base.html +++ b/templates/base.html @@ -15,7 +15,7 @@