Django content management as it should be.
Documentation
Read the full documentation or get a quick brief below.
Install
$ pip install djedi-cms
Configure
Example settings for Django 2.0:
# settings.py
INSTALLED_APPS = (
# ...
'djedi',
)
MIDDLEWARE = [
'djedi.middleware.translation.DjediTranslationMiddleware',
# ...
]
Bootstrap database
$ django-admin.py migrate djedi
Enable admin
# urls.py
urlpatterns = [
path('admin/', admin.site.urls),
]
For now, only the inline admin are in place, but we are working on the back office admin UI.
Use
{% load djedi_tags %}
<body>
<h1>{% node 'page/title.txt' default='Djedi' %}</h1>
{% blocknode 'page/body.md' %}
## I'm a djedi apprentice
This is fun!
{% endblocknode %}
</body>