Django snippets: Command to dump data as a python script. Extremely useful—dumps the data for an application as an executable Python script which will re-import it in to another database without any risk of colliding with existing IDs, sorting out foreign keys along the way.
FYI, this was also submitted as a patch to our django-command-extensions project and was committed today.
Empty - 25th June 2008 05:21 - #