1. Curtis Maloney
  2. gnocchi-gallery

Commits

cur...@tinbrain.net  committed c1d719c

Tweaked gallery admin to show slug

  • Participants
  • Parent commits af99f34
  • Branches default

Comments (0)

Files changed (1)

File gnocchi_gallery/admin.py

View file
  • Ignore whitespace
     model = models.Image
 
 class GalleryAdmin(admin.ModelAdmin):
-    list_display = ('name',)
+    list_display = ('name', 'slug',)
     prepopulated_fields = {
         'slug': ('name',)
     }