Django-Spellbook

Django Markdown Content Management System

A flexible content management extension for Django

Django Spellbook extends Django's templating and rendering capabilities with a focus on markdown-based content. It transforms markdown files into fully-rendered Django templates with auto-generated views and URLs, eliminating boilerplate code while maintaining Django's flexibility.

Get Started in Minutes

Django Spellbook integrates with your project by generating server-side code from markdown content:

pip install django-spellbook

Configure with these essential settings:

INSTALLED_APPS = [
    'django_spellbook',
    'my_app', # for SPELLBOOK_MD_APP
]

# necessary for markdown parsing
SPELLBOOK_MD_PATH = BASE_DIR / 'markdown_files'
SPELLBOOK_MD_APP = 'my_app'

# optional for markdown parsing
SPELLBOOK_MD_BASE_TEMPLATE = 'django_spellbook/bases/base_sidebar_left.html'
        
View Quick Start Guide