Skip to content

5monkeys/djedi-cms

Repository files navigation

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>

Integrations