On Thu, Nov 19, 2009 at 1:57 PM, Ken MacDonald <[email protected]> wrote: > So, a couple questions: > > 1) is it a bug that 'id' is generated as an 'integer' rather than 'serial' > type?
I'd be curious as to how your DB got set up that way, since Django's table-creation routines map AutoField to SERIAL: http://code.djangoproject.com/browser/django/trunk/django/db/backends/postgresql/creation.py#L10 > 3) Failing that, is there a better way to do the raw SQL steps outlined > above? http://docs.djangoproject.com/en/dev/ref/django-admin/#sqlsequencereset-appname-appname -- "Bureaucrat Conrad, you are technically correct -- the best kind of correct." -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. 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=.

