is there a way to run syncdb without loading fixtures? xo
./manage.py help syncdb
suggests the following:
./manage.py syncdb --no-initial-data
From Django docs on initial data:
If you create a fixture named initial_data.[xml/yaml/json]
, that fixture will be loaded every time you run migrate
. This is extremely convenient, but be careful: remember that the data will be refreshed every time you run migrate
. So don’t use initial_data for data you’ll want to edit.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With