mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2024-11-22 14:38:03 +01:00
Fix fixture
This commit is contained in:
parent
95501a7a1d
commit
d619aacf64
2 changed files with 1 additions and 7354 deletions
File diff suppressed because it is too large
Load diff
2
tasks.py
2
tasks.py
|
@ -113,7 +113,7 @@ def dump_initial(ctx):
|
||||||
with ctx.cd(SRC_DIR):
|
with ctx.cd(SRC_DIR):
|
||||||
path = "./character/fixtures/initial_data.json"
|
path = "./character/fixtures/initial_data.json"
|
||||||
ctx.run(
|
ctx.run(
|
||||||
f"./manage.py dumpdata character --natural-primary --natural-foreign -o {path} --indent 2",
|
f"./manage.py dumpdata character --natural-primary --natural-foreign -e character.Character -o {path} --indent 2",
|
||||||
pty=True,
|
pty=True,
|
||||||
echo=True,
|
echo=True,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue