Source

gnocchi-gallery / gnocchi / gallery / models.py

Diff from to

File gnocchi/gallery/models.py

         height_field='height')
     gallery = models.ForeignKey(Gallery, related_name='images')
     name = models.CharField(max_length=128, blank=True)
-    order = models.IntegerField(default=0)
+    order = models.PositiveIntegerField(default=0)
     width = models.IntegerField(default=0)
     height = models.IntegerField(default=0)