Skip to main content

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',
            )
        }
    }
)

Metadata

Release files for django-warthog 0.5.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-warthog 0.5.2.0
File Size Uploaded
django-warthog-0.5.2.0.tar.gz 27.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-warthog 0.5.2.0
File Interpreter ABI Platform
django_warthog-0.5.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 75.0 kB

Release files / django-warthog-0.5.2.0.tar.gz

Download URL django-warthog-0.5.2.0.tar.gz
Size 27.3 kB
Tags Source
SHA-256 checksum
How to use checksums
6e7fe5b1efbab1344b06b92dc5e35524e1463102db6c228b0b25e9ce68d23c10
BLAKE2b-256 checksum
How to use checksums
6cce12e11ddd04f073df5abfceb91fa04de21703090f9f9ca432b0db283a4bba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6

Release files / django_warthog-0.5.2.0-py3-none-any.whl

Download URL django_warthog-0.5.2.0-py3-none-any.whl
Size 47.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a0701e46650f48cd06930a7e41f8c611b721cd7ac6a4c83b90bf04b1f6afde59
BLAKE2b-256 checksum
How to use checksums
bb26431698130cfeada402c5fa6e481cb7bebe18850dec1fb11dfc4cea208c44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page