README: add documentation on stacks
This commit is contained in:
parent
b4475ef2cc
commit
9c8cddaa13
10
README
10
README
|
@ -11,7 +11,7 @@ The application is now usable at http://localhost:8000/
|
||||||
How to save users settings
|
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
|
feed_plugin.feedpreference portail_citoyen_announces.subscription >user-datas.json
|
||||||
|
|
||||||
To load them
|
To load them
|
||||||
|
@ -26,3 +26,11 @@ How to save users settings
|
||||||
PORTAIL_CITOYEN_TEMPLATE_VARS_SITE_AGGLO_MONTPELLIER
|
PORTAIL_CITOYEN_TEMPLATE_VARS_SITE_AGGLO_MONTPELLIER
|
||||||
|
|
||||||
URL of the main agglo site
|
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' %}
|
||||||
|
|
Reference in New Issue