From a388831ac9226e59715bd827086f8ce61d3f9e46 Mon Sep 17 00:00:00 2001 From: erichhasl Date: Wed, 5 Jul 2017 19:59:10 +0200 Subject: [PATCH] fix image orientation --- jdav_web/material/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jdav_web/material/models.py b/jdav_web/material/models.py index 62ed8d3..d610775 100644 --- a/jdav_web/material/models.py +++ b/jdav_web/material/models.py @@ -34,7 +34,7 @@ class MaterialPart(models.Model): def admin_thumbnail(self): if self.photo: - return ''.format(self.photo.url) + return ''.format(self.photo.url) else: return 'kein Bild' admin_thumbnail.short_description = _('Thumbnail')