Commits

Waldemar Kornewald committed 8eeccc7

explicitly specify an IntegerField primary_key, so the unit tests can also be used with the MongoDB backend

  • Participants
  • Parent commits 8d2fe42

Comments (0)

Files changed (1)

File tests/testmodels.py

 #    image = ImageField()
 
 class OrderedModel(models.Model):
+    id = models.IntegerField(primary_key=True)
     priority = models.IntegerField()
 
     class Meta: