Commits

funkybob  committed 0cb285d

Include order in gallery image fields

  • Participants
  • Parent commits 395b40d

Comments (0)

Files changed (1)

File gnocchi/gallery/admin.py

 
 class ImageInline(admin.TabularInline):
     model = models.Image
-    fields = ('image', 'thumb', 'name', 'tags', 'width', 'height',)
+    fields = ('image', 'thumb', 'name', 'tags', 'width', 'height', 'order',)
     readonly_fields = ('thumb', 'width', 'height',)
 
     def thumb(self, obj):