database, fixtures
Django snippets: Command to dump data as a python script
• Generates a Python script that will repopulate the database using objects. The advantage of this approach is that it is easy to understand, and more flexible than directly populating the database, or using XML
Detail
•
django,
database,
fixtures,
python