Skip to content

Latest commit

 

History

History
74 lines (50 loc) · 1.54 KB

README.md

File metadata and controls

74 lines (50 loc) · 1.54 KB

Djedi CMS

Django content management as it should be.

Build Status Coverage Status Version Python Versions

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>