Re: Auto increment in model primarykey

2009-04-21 Thread Vicky
Thanks a lot man. It worked. I just made it as AutoField :) On Apr 21, 5:15 pm, Mike Ramirez wrote: > On Tuesday 21 April 2009 05:07:06 am Anatoliy wrote: > > > Try to remove id field from model description. Django handles it > > automatically. > > > On Apr 21, 3:48 pm,

Re: Auto increment in model primarykey

2009-04-21 Thread Mike Ramirez
On Tuesday 21 April 2009 05:07:06 am Anatoliy wrote: > Try to remove id field from model description. Django handles it > automatically. > > On Apr 21, 3:48 pm, Vicky wrote: > > I have a table with an 'id' field (Primary Key). When I insert the > > data using admin

Re: Auto increment in model primarykey

2009-04-21 Thread Anatoliy
Try to remove id field from model description. Django handles it automatically. On Apr 21, 3:48 pm, Vicky wrote: > I have a table with an 'id' field (Primary Key). When I insert the > data using admin interface it is asking me for the value of the > primary key field. But

Auto increment in model primarykey

2009-04-21 Thread Vicky
I have a table with an 'id' field (Primary Key). When I insert the data using admin interface it is asking me for the value of the primary key field. But I want it to be filled automatically. Is there a way to do it? --~--~-~--~~~---~--~~ You received this message