Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
concrexit
Commits
15e57cfe
Verified
Commit
15e57cfe
authored
Mar 21, 2017
by
Sébastiaan Versteeg
Browse files
Fix edit photo link in admin
parent
44ca1d67
Changes
1
Hide whitespace changes
Inline
Side-by-side
website/photos/admin.py
View file @
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'
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment