On May 10, 5:12 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > You have to change it to: > > Foo_ID = models.AutoField(primary_key=True, editable=False)
Ah, ok, so even though the db (MySQL) is taking care of incrementing the column value on insert, the model has to know that the DB is doing it? Thanks! Works like a charm. --~--~---------~--~----~------------~-------~--~----~ 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=en -~----------~----~----~----~------~----~------~--~---

