Hi all, I want to add one auto-increase PK which start from one given value(such as start from 1000).
I try to write the model as following: class MyModel(models.Model): mid = models.AutoField(verbose_name='My ID',primary_key=True,default='1000') But only one record can be add when i add records in admin web site. Any ways to support this? thanks Regards, Hollandz -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/a66c5ec3-d0e8-41c8-98df-ef2c6f6c7126%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.