On https://docs.djangoproject.com/en/dev/howto/initial-data/, it says to run manage.py loaddata <fixturename>
to re-load data, or to name a fixture "initial_data" to load it with every migrate.
On the page https://code.djangoproject.com/wiki/Fixtures, it says that a fixture can be loaded using python manage.py syncdb
, but it looks like the database has to be reset first (true or false?).
Finally, on https://docs.djangoproject.com/en/dev/ref/django-admin/, it says to use django-admin.py loaddata <fixturename>
to reload. Are these all options for the same thing? Or what are the differences?