Re: Wrong id returned from a record in mysql

2007-12-10 Thread Alex Koshelev
And where is problem? This is normal behaviour. On 10 дек, 17:24, DierRe <[EMAIL PROTECTED]> wrote: > Hello! I have a weird problem. > This is the model, really simple. > > class Tags(models.Model): > tag_id = models.AutoField(primary_key=True) > name =

Wrong id returned from a record in mysql

2007-12-10 Thread DierRe
Hello! I have a weird problem. This is the model, really simple. class Tags(models.Model): tag_id = models.AutoField(primary_key=True) name = models.CharField(max_length=100) slug = models.SlugField(db_index=True,max_length=100,unique=True) amount =