diff options
author | adityacp | 2020-07-27 16:49:44 +0530 |
---|---|---|
committer | adityacp | 2020-07-27 16:49:44 +0530 |
commit | 96102991ed192ca6a0c48cad4e63b604c0ce6d70 (patch) | |
tree | 6a1d15502f45c72d99d806b043efda334b0f3184 /cms/urls.py | |
parent | 47eb422c3cb2baf5386df274114019f684fa9af8 (diff) | |
download | workshop_booking-96102991ed192ca6a0c48cad4e63b604c0ce6d70.tar.gz workshop_booking-96102991ed192ca6a0c48cad4e63b604c0ce6d70.tar.bz2 workshop_booking-96102991ed192ca6a0c48cad4e63b604c0ce6d70.zip |
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
Diffstat (limited to 'cms/urls.py')
-rw-r--r-- | cms/urls.py | 2 |
1 files changed, 2 insertions, 0 deletions
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<permalink>.+)$', views.home, name='home') |