summaryrefslogtreecommitdiff
path: root/app/photos
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2015-12-17 22:08:20 -0500
committerluxagraf <sng@luxagraf.net>2015-12-17 22:08:20 -0500
commitc4d4d7f9dd8104171b62b99b7b4f565bf34b6c0b (patch)
treea1f2ab834b9502e168fb51ba5aa73504a74a165d /app/photos
parentd6ed9d15abf6ea051bbcc727dd29fb143b798991 (diff)
made the admin thumbnail widget a bit nicer
Diffstat (limited to 'app/photos')
-rw-r--r--app/photos/forms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/photos/forms.py b/app/photos/forms.py
index 08927cd..e8e705f 100644
--- a/app/photos/forms.py
+++ b/app/photos/forms.py
@@ -44,7 +44,7 @@ class GalleryForm(forms.ModelForm):
items = []
for image in images:
items.append(
- (image.pk, mark_safe('%s' % image.get_image_name()))
+ (image.pk, mark_safe('%s %s' % (image.title, image.get_image_name())))
)
self.fields['images'].choices = items
self.fields['images'].allow_tags = True