Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (15 sloc) 669 Bytes
Note: this app is no longer needed for django CMS 3. The same functionality is available
with static placeholders:
http://django-cms.readthedocs.org/en/latest/introduction/templates_placeholders.html#static-placeholders
A simple app that allows using Multilingual contentblock using Placeholders from django-cms
Installation:
pip install django-contentblock
dependencies: django-cms, django-multilingual-ng
Setup:
add 'contentblock' to INSTALLED_APPS
Usage:
In Admin create a Content block and give it a codename, e.g 'myprettyblock'
In your template:
{% load contentblock_tags %}
{% contentblock 'myprettyblock' %}
http://github.com/divio/django-contentblock/