Skip to main content

Embeddable CMS for Django.

Project description

Simple embeddable CMS for Django. Supports for:

  • addition of CMS pages
  • embedded content blocks
  • scheduled (un)publishing of content
  • handling of multiple sites (via Django sites framework)
  • management of templates

Installation

Add warthog to your INSTALLED_APPS setting:

INSTALLED_APPS = (
    ...
    'warthog',
    ...
)

Add the warthog middleware into the MIDDLEWARE_CLASSES:

MIDDLEWARE_CLASSES = (
    ...
    'warthog.middleware.CmsMiddleware',
    ...
)

Enable template loaders for customising any template:

# For Django 1.8+
TEMPLATES = (
    {
        'BACKEND': 'django.template.backends.django.DjangoTemplates',
        'OPTIONS': {
            'loaders': (
                'django.template.loaders.app_directories.Loader',
                'warthog.loaders.CmsTemplateLoader',
            )
        }
    }
)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django_warthog-0.5.0b0-py2-none-any.whl (46.2 kB) Copy SHA256 hash SHA256 Wheel 2.7 Aug 23, 2017
django-warthog-0.5.0b0.tar.gz (27.3 kB) Copy SHA256 hash SHA256 Source None Aug 23, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page