diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-08-12 13:29:57 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-08-12 13:29:57 +0200 |
commit | a712f5ddc3e3520cbe3076fec45205c47145c94f (patch) | |
tree | df4fa38b61f1fb09ea95a032dde9c8caecdb4b61 /Makefile.example | |
parent | b5e53c41b98f268ec6b9701f9dfbe46a06f4a3ab (diff) | |
download | Ishtar-a712f5ddc3e3520cbe3076fec45205c47145c94f.tar.bz2 Ishtar-a712f5ddc3e3520cbe3076fec45205c47145c94f.zip |
Fixtures: natural keys for warehouse types and archaeological file types
Diffstat (limited to 'Makefile.example')
-rw-r--r-- | Makefile.example | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.example b/Makefile.example index f806ac1b7..7a93e66da 100644 --- a/Makefile.example +++ b/Makefile.example @@ -189,14 +189,14 @@ fixtures_finds: > '../archaeological_finds/fixtures/initial_data-'$(default_data)'.json' fixtures_warehouse: - cd $(project); $(PYTHON) ./manage.py dumpdata --indent 4 \ + cd $(project); $(PYTHON) ./manage.py dumpdata --indent 4 --natural-primary --natural-foreign \ archaeological_warehouse.containertype \ archaeological_warehouse.warehousetype \ archaeological_warehouse.warehousedivision \ > '../archaeological_warehouse/fixtures/initial_data-'$(default_data)'.json' fixtures_files: - cd $(project); $(PYTHON) ./manage.py dumpdata --indent 4 \ + cd $(project); $(PYTHON) ./manage.py dumpdata --indent 4 --natural-primary --natural-foreign \ archaeological_files.saisinetype \ archaeological_files.filetype \ archaeological_files.permittype \ |