You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a feature in Django which is called fixtures which can be used to seed or initialize an environment. To get one from an existing environment, you can do python3 ./managepy dumpdata >> seed.json and then supply the file created to initialize.
NOTE: dumpdata includes every action a user has done when interacting with the system, e.g. as an admin created a menu item or deleted an order.
There is a feature in Django which is called fixtures which can be used to seed or initialize an environment. To get one from an existing environment, you can do
python3 ./managepy dumpdata >> seed.json
and then supply the file created to initialize.NOTE: dumpdata includes every action a user has done when interacting with the system, e.g. as an admin created a menu item or deleted an order.
Originally posted by @sgronlund in #406 (comment)
The text was updated successfully, but these errors were encountered: