From f29caec993bce61065d6f96a5ff82d4e931540bc Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 11 Aug 2017 21:31:35 +0200 Subject: Makefile: change importer fixture generation in order to manage natural keys --- Makefile.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.example b/Makefile.example index e5c63af8b..69370425b 100644 --- a/Makefile.example +++ b/Makefile.example @@ -129,7 +129,7 @@ fixtures_common: fixtures_common_importers fixtures_spatialrefsystem > '../ishtar_common/fixtures/initial_data-'$(default_data)'.json' fixtures_common_importers: - cd $(project); $(PYTHON) ./manage.py dumpdata --indent 4 \ + cd $(project); $(PYTHON) ./manage.py dumpdata --indent 4 --natural-primary --natural-foreign \ ishtar_common.importermodel \ ishtar_common.importertype \ ishtar_common.regexp \ -- cgit v1.2.3