Skip to content

hannseman/djedi-cms

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Djedi CMS

Django content management as it should be

Build Status Coverage Status Downloads

Install

Install djedi cms using pip in your desired python environment

$ pip install djedi-cms

Note: djedi-cms is built on top of the content pipeline library content-io

Configure

  • Add djedi to INSTALLED_APPS
  • Manage syncdb (if using default django model djedi backend)
  • Enable django admin or include djedi.urls in your root urls with namespace admin
  • Add suitable djedi middleware early in MIDDLEWARE_CLASSES:
MIDDLEWARE_CLASSES = (
    'djedi.middleware.translation.DjediTranslationMiddleware',
    # ...
)

Usage

Load djedi_tags in a template and use node or blocknode tag

{% 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>

About

Django content management as it should be

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 69.7%
  • JavaScript 16.5%
  • Python 8.9%
  • CoffeeScript 4.9%