Overview

Installation:

pip install hg+http://bitbucket.org/funkybob/gnocchi-tools pip install hg+http://bitbucket.org/funkybob/gnocchi-cms

[PyPi installs coming soon, honest!]

Add to your INSTALLED APPS:

'gnocchi.tools', 'gnocchi.cms',

To your TEMPLATE_LOADERS add:

'gnocchi.cms.loaders.Loader',

Set your TEMPLATE_CONTEXT_PROCESSORS processors to include:

'gnocchi.cms.context.context_variables',

If you don't have any others, a handy shortcut is:

from django.conf.global_settings import TEMPLATE_CONTEXT_PROCESSORS TEMPLATE_CONTEXT_PROCESSORS = (

'gnocchi.cms.context.context_variables',

) + TEMPLATE_CONTEXT_PROCESSORS

And, if you want, specify a template for DEFAULT_TEMPLATE

DEFAULT_TEMPLATE = 'default.html'

To your URLs add:

(r'^css/(?P<name>.*).css$', 'gnocchi.cms.views.css'), (r'^(?P<path>.*)$', 'gnocchi.cms.views.page'),
or just use:
(r'', include('gnocchi.cms.urls')),