Skip to content
GitLab
Menu
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
d30ccd62
Commit
d30ccd62
authored
Mar 22, 2017
by
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
Changes
1
Show whitespace changes
Inline
Side-by-side
website/photos/admin.py
View file @
d30ccd62
...
...
@@ -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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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