djangosnippets.org: Latest snippets posted by grahamhttp://djangosnippets.org/users/graham/2008-07-29T18:02:57.781718-05:00grahamsyncdata command
2008-07-29T18:02:57.781718-05:00grahamhttp://djangosnippets.org/snippets/926/<p>A django admin command that takes a fixture and makes the target database the same as that fixture, deleting objects that in the database but not in the fixture, updating objects that are different in the database, and inserting missing ones.
Place this code in your_app/management/commands/syncdata.py
You will need to …</p>
Freely redistributable