summaryrefslogtreecommitdiff
path: root/Makefile.example
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-07-21 15:00:07 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-07-21 15:00:07 +0200
commit9a7c3c036e1ae743c7ccc00cdc4c9e8499b8578e (patch)
treed2df22dcdc7a19607b671327bc5a4a5fcd39b3db /Makefile.example
parentc37818005360690f0077000cdddb12f33936fc2b (diff)
downloadIshtar-9a7c3c036e1ae743c7ccc00cdc4c9e8499b8578e.tar.bz2
Ishtar-9a7c3c036e1ae743c7ccc00cdc4c9e8499b8578e.zip
Fix fixture generation
Diffstat (limited to 'Makefile.example')
-rw-r--r--Makefile.example6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.example b/Makefile.example
index 9cb46929f..4e3d06173 100644
--- a/Makefile.example
+++ b/Makefile.example
@@ -145,12 +145,12 @@ generate_doc:
fixtures: fixtures_auth fixtures_common fixtures_operations fixtures_context_records fixtures_finds fixtures_warehouse fixtures_files
fixtures_auth:
- cd $(project); $(PYTHON) ./manage.py dumpdata --indent 4 --natural-foreign \
- contenttypes.contenttype auth.permission auth.group \
+ cd $(project); $(PYTHON) ./manage.py dumpdata --indent 4 --natural-primary --natural-foreign \
+ auth.permission auth.group \
> '../fixtures/initial_data-auth-'$(default_data)'.json'
fixtures_common: fixtures_common_importers fixtures_spatialrefsystem
- cd $(project); $(PYTHON) ./manage.py dumpdata --indent 4 \
+ cd $(project); $(PYTHON) ./manage.py dumpdata --indent 4 --natural-primary --natural-foreign \
ishtar_common.authortype \
ishtar_common.persontype \
ishtar_common.organizationtype \