Metadata-Version: 2.0
Name: django-warthog
Version: 0.5.0b0
Summary: Embeddable CMS for Django.
Home-page: https://www.github.com/timsavage/django-warthog
Author: Tim Savage
Author-email: tim@savage.company
License: BSD License
Platform: OS Independent
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
Requires-Dist: Django (>=1.4)

~~~~~~~~~~~~~~
Django Warthog
~~~~~~~~~~~~~~

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


