This commit is contained in:
Benjamin Dauvergne 2013-04-23 18:46:13 +02:00
parent 49f25bacf9
commit 5cab8389f7
2 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,3 @@
dump-cms:
@echo Building file cms.json in /tmp
#@./compte-agglo-montpellier dumpdata cms.placeholder | json-indent > /tmp/cms.json
@./compte-agglo-montpellier dumpdata -e cms.placeholder -e menus -e cms cmsplugin_text_wrapper file googlemap link picture snippet teaser video login_plugin data_source_plugin a2_service_list_plugin | json-indent > /tmp/cms.json
@./compte-agglo-montpellier dumpdata menus cms cmsplugin_text_wrapper file googlemap link picture snippet teaser video login_plugin data_source_plugin a2_service_list_plugin | json-indent > /tmp/cms.json

View File

@ -22,7 +22,7 @@ import sys
# os.environ["DJANGO_SETTINGS_MODULE"] = "compte_agglo_montpellier.settings"
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "compte_agglo_montpellier.settings")
apps_path = os.path.join(os.path.dirname(__file__), 'apps'))
apps_path = os.path.join(os.path.dirname(__file__), 'apps')
if apps_path not in sys.path:
sys.path.append(apps_path)