All Projects → divio → django-contentblock

divio / django-contentblock

Licence: other
A simple app that allows using Multilingual contentblock using Placeholders from django-cms

Programming Languages

python
139335 projects - #7 most used programming language
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/
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].