Reputation: 3271
I have finally got my admin part of my django site working.
I am now beginning the tedious part of manually entering the initial data into the database. Obviously, I want this to be a one time affair.
Can anyone suggest to me how I can create fixtures data from my manually entered data, so that I can reload the data (automatically?) when I do a manage.py syncdb ?
Upvotes: 1
Views: 320
Reputation: 599610
Use the dumpdata
management command.
python manage.py dumpdata yourappname > app_data.json
Upvotes: 2