diff options
| author | Étienne Loks <etienne.loks@proxience.com> | 2015-06-02 18:29:02 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@proxience.com> | 2015-06-02 18:29:02 +0200 |
| commit | 10a0f1bcb44b6c04de0bc64b53b9443182150dc7 (patch) | |
| tree | 8d59737f5e2f61f4ee17b43f3c9f6a78cf8c4bd4 /Makefile.example | |
| parent | b94607e7e71fee4609d64e40fa778e3d4ab15062 (diff) | |
| download | Ishtar-10a0f1bcb44b6c04de0bc64b53b9443182150dc7.tar.bz2 Ishtar-10a0f1bcb44b6c04de0bc64b53b9443182150dc7.zip | |
Update fixture town with states and departments
Diffstat (limited to 'Makefile.example')
| -rw-r--r-- | Makefile.example | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/Makefile.example b/Makefile.example index c18917319..55638f9dd 100644 --- a/Makefile.example +++ b/Makefile.example @@ -95,11 +95,15 @@ generate_doc: cd $(project);\ $(PYTHON) manage.py graph_models --pydot -I "ImporterType,ImporterDefault,ImporterDefaultValues,ImporterColumn,Regexp,ImportTarget,FormaterType,Import" ishtar_common > /tmp/ishtar.dot dot -Tpng /tmp/ishtar.dot -o docs/source/_static/db-imports.png + for APP in $(apps); do \ + $(PYTHON) manage.py graph_models --pydot $$APP > /tmp/ishtar.dot + dot -Tpng /tmp/ishtar.dot -o docs/source/_static/db-$$APP.png + done rm /tmp/ishtar.dot fixtures: fixtures_common fixtures_operations fixtures_archaeological_context_records fixtures_archaeological_finds fixtures_archaeological_warehouse fixtures_archaeological_files -fixtures_common: fixtures_common_importers +fixtures_common: fixtures_common_importers fixtures_common_towns cd $(project); $(PYTHON) ./manage.py dumpdata --indent 4 \ ishtar_common.authortype \ ishtar_common.persontype \ @@ -118,13 +122,12 @@ fixtures_common_importers: ishtar_common.formatertype \ > '../ishtar_common/fixtures/initial_importtypes-'$(default_data)'.json' -fixtures_initial_data: +fixtures_common_towns: cd $(project); $(PYTHON) ./manage.py dumpdata --indent 4 \ - ishtar_common.authortype \ - ishtar_common.persontype \ - ishtar_common.organizationtype \ - ishtar_common.sourcetype \ - > '../ishtar_common/fixtures/initial_data-'$(default_data)'.json' + ishtar_common.state \ + ishtar_common.department \ + ishtar_common.town \ + > '../ishtar_common/fixtures/initial_towns-'$(default_data)'.json' fixtures_operations: cd $(project); $(PYTHON) ./manage.py dumpdata --indent 4 \ |
