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.

Source Distribution

django-warthog-0.5.2.0.tar.gz (27.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_warthog-0.5.2.0-py3-none-any.whl (47.7 kB view details)

Uploaded Python 3

File details

Details for the file django-warthog-0.5.2.0.tar.gz.

File metadata

  • Download URL: django-warthog-0.5.2.0.tar.gz
  • Upload date:
  • Size: 27.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for django-warthog-0.5.2.0.tar.gz
Algorithm Hash digest
SHA256 6e7fe5b1efbab1344b06b92dc5e35524e1463102db6c228b0b25e9ce68d23c10
MD5 6279ea773a2b5d204f396f984abdc3c4
BLAKE2b-256 6cce12e11ddd04f073df5abfceb91fa04de21703090f9f9ca432b0db283a4bba

See more details on using hashes here.

File details

Details for the file django_warthog-0.5.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_warthog-0.5.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a0701e46650f48cd06930a7e41f8c611b721cd7ac6a4c83b90bf04b1f6afde59
MD5 14a8b0f952d625c2a04404ac9787cb78
BLAKE2b-256 bb26431698130cfeada402c5fa6e481cb7bebe18850dec1fb11dfc4cea208c44

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page