Commit d30ccd62 authored by Luuk Scholten's avatar Luuk Scholten
Browse files

Merge branch 'fix/photo-open-admin' into 'master'

Fix edit photo link in admin

Closes #356

See merge request !417
parents 72ae13b4 15e57cfe
......@@ -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