Skip to content
This repository has been archived by the owner on Jan 11, 2019. It is now read-only.

divio/django-contentblock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages