Re: models.AutoField question

2008-11-29 Thread Malcolm Tredinnick
On Sat, 2008-11-29 at 21:26 +0530, Mahesh Vaidya wrote: > Hi, > I want use id as uid or something like; itd start from 1; staring user > id from "1 - one" is not that good; can I initialize starting value > for AutoField ? If you want the value to be a unique id and it is only generated by this

Re: models.AutoField question

2008-11-29 Thread Daniel Roseman
On Nov 29, 3:56 pm, "Mahesh Vaidya" <[EMAIL PROTECTED]> wrote: > Hi, > I want use id as uid or something like; itd start from 1; staring user > id from "1 - one" is not that good; can I initialize starting value > for AutoField ? > > id = models.AutoField(primary_key=True) > > Thank You > -- >

models.AutoField question

2008-11-29 Thread Mahesh Vaidya
Hi, I want use id as uid or something like; itd start from 1; staring user id from "1 - one" is not that good; can I initialize starting value for AutoField ? id = models.AutoField(primary_key=True) Thank You -- --Mahesh Bangalore --~--~-~--~~~---~--~~ You