Skip to content

Commit

Permalink
fix fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
hypsug0 committed Nov 12, 2024
1 parent 0aefdad commit 5d58318
Show file tree
Hide file tree
Showing 6 changed files with 784 additions and 834 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this

## unreleased

## 1.3.2 - 2024-11-13

### Changed

* Fix fixtures

## 1.3.1 - 2024-04-24

### Changed
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ build :
poetry build

dumpdata :
$(MANAGE) dump_object --natural-foreign --natural-primary --query '{"type__mnemonic__in": ["action_scope", "geographic_area", "organism_status","organism_type","member_level"]}' sinp_nomenclatures.nomenclature > sinp_organisms/fixtures/nomenclatures.json
$(MANAGE) dumpdata --natural-foreign --natural-primary --indent=2 sinp_organisms.organism > sinp_organisms/fixtures/inpn_organims.json
$(MANAGE) dump_object --natural-foreign --natural-primary --query '{"type__mnemonic__in": ["action_scope", "geographic_area", "organism_status","organism_type","member_level", "territory"]}' sinp_nomenclatures.nomenclature > sinp_organisms/fixtures/inpn_nomenclatures_organisms.json
$(MANAGE) dumpdata --natural-foreign --natural-primary --indent=2 sinp_organisms.organism > sinp_organisms/fixtures/inpn_organisms.json

runserver:
$(MANAGE) runserver
Loading

0 comments on commit 5d58318

Please sign in to comment.