From 9c8cddaa13e0c89dc01d06522dff6cb498778ed1 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Tue, 21 Jan 2014 12:34:31 +0100 Subject: [PATCH] README: add documentation on stacks --- README | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README b/README index 2861ae9..81c0dbe 100644 --- a/README +++ b/README @@ -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' %}