stray jpg
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ from easy_thumbnails.files import get_thumbnailer
|
||||
class ImageColumn(tables.Column):
|
||||
def render(self, value):
|
||||
thumbnailer = get_thumbnailer(value)
|
||||
return format_html('<img src="/media/{}.jpg" />', thumbnailer["exam-list"])
|
||||
return format_html('<img src="/media/{}" />', thumbnailer["exam-list"])
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user