Manageable bootstrap panels
- Django
- Bootstrap
Install:
$ python setup.py install
Add panels
to your installated apps:
INSTALLED_APPS = (
...
'panels',
...
Add the processor to your TEMPLATE_CONTEXT_PROCESSORS
:
TEMPLATE_CONTEXT_PROCESSORS = (
...
'panels.processors.panels',
)
Include this in your templates (eg, base.html
):
{% include "panels/panels.html" %}