Verified Commit 15e57cfe authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Fix edit photo link in admin

parent 44ca1d67
......@@ -104,7 +104,7 @@ class AlbumAdmin(admin.ModelAdmin):
class PhotoAdmin(admin.ModelAdmin):
list_display = ('file', 'album', 'hidden')
list_display = ('__str__', 'album', 'hidden')
search_fields = ('file',)
list_filter = ('album', 'hidden')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment