diff options
author | pnshiralkar | 2020-05-13 12:36:25 +0530 |
---|---|---|
committer | pnshiralkar | 2020-05-13 12:36:25 +0530 |
commit | 778a1d2d8100ad0e2bfc2ce98bf610c9961f4a5e (patch) | |
tree | a67142f8fa2a45a45a39e63bce08d1d4c8964c32 /cms/admin.py | |
parent | 69323cafd109bf5d2f4f50bbd9d4931c04c02426 (diff) | |
download | workshop_booking-778a1d2d8100ad0e2bfc2ce98bf610c9961f4a5e.tar.gz workshop_booking-778a1d2d8100ad0e2bfc2ce98bf610c9961f4a5e.tar.bz2 workshop_booking-778a1d2d8100ad0e2bfc2ce98bf610c9961f4a5e.zip |
feat: CMS App
- Added cms app to INSTALLED_APPS in settings
- Removed index URL from workshop_app/urls.py
- Added cms urls to workshop_portal/urls.py
- Added cms_base html for renderring cms
- Modified static file model to save uploaded files into static location
Diffstat (limited to 'cms/admin.py')
-rw-r--r-- | cms/admin.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cms/admin.py b/cms/admin.py index 8c38f3f..8918797 100644 --- a/cms/admin.py +++ b/cms/admin.py @@ -1,3 +1,9 @@ from django.contrib import admin +from cms.models import * # Register your models here. + +admin.site.register(Nav) +admin.site.register(SubNav) +admin.site.register(Page) +admin.site.register(StaticFile) |