From 96102991ed192ca6a0c48cad4e63b604c0ce6d70 Mon Sep 17 00:00:00 2001 From: adityacp Date: Mon, 27 Jul 2020 16:49:44 +0530 Subject: Change models, views, admin, template - Add active boolean field in all models - Get the pages based on the active status - Minor code refactor in views - Add app_name in urls --- cms/urls.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cms/urls.py') diff --git a/cms/urls.py b/cms/urls.py index b0c7612..baae492 100644 --- a/cms/urls.py +++ b/cms/urls.py @@ -2,6 +2,8 @@ from django.conf.urls import url from cms import views +app_name = "cms" + urlpatterns = [ url('^$', views.home, name='home'), url('^(?P.+)$', views.home, name='home') -- cgit