summaryrefslogtreecommitdiff
path: root/app/photos/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/photos/forms.py')
-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