django-contentblock
django-contentblock copied to clipboard
A simple app that allows using Multilingual contentblock using Placeholders from django-cms
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/