From 073e8c59195863fcd70ca0723fd110fc2f908758 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 21 Jul 2017 15:00:07 +0200 Subject: Fix fixture generation --- Makefile.example | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile.example') 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 \ -- cgit v1.2.3