Skip to content

Commit

Permalink
exclude sites from dumdata
Browse files Browse the repository at this point in the history
  • Loading branch information
pat1 committed Sep 2, 2024
1 parent 8711ea8 commit 2da526a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/rmapctrl
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def ctrl(cwd):
management.call_command("collectstatic")

if (options.dumpdata):
management.call_command("dumpdata",use_natural_foreign_keys = True, use_natural_primary_keys = True, exclude=["sessions","admin","contenttypes","auth.Permission"])
management.call_command("dumpdata",use_natural_foreign_keys = True, use_natural_primary_keys = True, exclude=["sites","sessions","admin","contenttypes","auth.Permission"])

if (options.loaddata is not None):
print("loaddata",options.loaddata)
Expand Down

0 comments on commit 2da526a

Please sign in to comment.