On Tuesday 12 December 2006 03:10, John Morton wrote: > I'm working with an introspected model against tables in a mysql backed > with the MyISAM engine, and I'm having problems when creating new objects. > Basically, I instantiate a new instance of the model, save the new object > with the save method, then test the primary key attribute.
The database introspection was correctly detecting which field to set as the primary key, but failed to detect that that column was autoincrementing—it should have assigned AutoFields instead of IntegerFields. Bug? Should I file it? John --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---