README: add documentation on stacks

This commit is contained in:
Benjamin Dauvergne 2014-01-21 12:34:31 +01:00
parent b4475ef2cc
commit 9c8cddaa13
1 changed files with 9 additions and 1 deletions

10
README
View File

@ -11,7 +11,7 @@ The application is now usable at http://localhost:8000/
How to save users settings
==========================
$ ./run.sh dumpdata -n portail_citoyen.citoyen saml.libertyfederation \
$ ./run.sh dumpdata -n portail_citoyen.citoyen saml.libertyfederation
feed_plugin.feedpreference portail_citoyen_announces.subscription >user-datas.json
To load them
@ -26,3 +26,11 @@ How to save users settings
PORTAIL_CITOYEN_TEMPLATE_VARS_SITE_AGGLO_MONTPELLIER
URL of the main agglo site
Stacks
======
You can plug editable content in any template using Django-CMS stacks::
{% load stack_tags %}
{% stack 'my_content_id' %}