Re: Adding a --delete option to loaddata

2008-05-02 Thread [EMAIL PROTECTED]
+1 I've always felt that there must be a way to do this that I was just overlooking. Thanks, Eric Florenzano On May 2, 4:54 pm, "Graham King" <[EMAIL PROTECTED]> wrote: > I have just submitted a patch / ticket to allow loadata to remove > objects that are in the database but not in the fixture

Adding a --delete option to loaddata

2008-05-02 Thread Graham King
I have just submitted a patch / ticket to allow loadata to remove objects that are in the database but not in the fixture. It has docs and tests. http://code.djangoproject.com/ticket/7159 This means loadata can now make an app in a database exactly match the app in the fixture. We use this to