kopia lustrzana https://github.com/rtts/django-simplecms
![]() Since all of my django projects usually end up with a very similar structure, I thought it would be useful to include some common settings in this repository. This is useful for testig the cms app, but also as a scaffold for new projects. The syntax in settings.py is intentionally invalid, so you will have to make your desired changes before you can actually use it. My personal intended usecase: use this repository as a template for new projects, edit settings.py and add custom apps. |
||
---|---|---|
cms | ||
project | ||
.gitignore | ||
LICENSE | ||
MANIFEST.in | ||
README.md | ||
setup.py |
README.md
Django Simple CMS
Simple CMS app with models that should suit everyone's small website needs.
Installation
pip install git+https://github.com/rtts/django-simplecms.git
Configuration
Add the following to your Django settings:
INSTALLED_APPS += [
'cms',
'ckeditor',
'embed_video',
'easy_thumbnails',
]
SECTION_TYPES = [
('normal', 'Normaal'),
]
SECTION_COLORS = [
(1, 'Licht'),
(2, 'Donker'),
]
And add the following to your URL patterns:
urlpatterns += [
path('accounts/', include('django.contrib.auth.urls')),
path('', include('cms.urls', namespace='cms')),
]