Seeds.rb in Django 1.8 - bootable database

In Rails, we have a seeds.rb file that is used to bootstrap the database. What's the idiomatic way to do this in Django 1.8, preferably using Python code? Will I need to read some data files I have and insert the data into the db? It is not clear from the documentation.

+3


source to share


1 answer


There is also this django-seed package which might be helpful.



+1


source







All Articles