i have a model with just one field. name.
class City(models.Model): <br>
name = models.CharField(max_length=30)
Django sets id by itself so I end up with id and a description field in SQL.
but that id field is always increment by 1.
I want to start it from 1000 and then increment by one.
Is there any way to do this in Django?
ALTER TABLE tbl AUTO_INCREMENT = 1000;. Django isn't and should not be responsible for this.