On 4/5/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I think you can fix it by running something like: > > $ python manage.py sqlsequencereset | psql mydbname
Correct. I'll be merge something similar to that into the loaddata code. > When you load data with the primary keys already set it doesn't update > the postgres sequence generator. There's a ticket about how this > affects fixture loading: > > http://code.djangoproject.com/ticket/3790 Thanks for that Zach - I didn't notice this one go past. I've closed off #3915 as a duplicate. Yours, Russ Magee %-) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---