> I think you can fix it by running something like: > > $ python manage.py sqlsequencereset | psql mydbname > > 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 > > Zach
Ah, thanks. That's certainly an easy enough workaround (perhaps you could even call it the solution). I did a manual fix for each sequence using SETVAL but this would be much simpler, and automatic. Anyway, I added a "see also #3790" comment to the new ticket Russ created yesterday (#3915). -Jon --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---