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,
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
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
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
4 matches
Mail list logo