This commit is contained in:
Ross
2021-02-08 16:10:58 +00:00
parent a72d9bfe8e
commit 2b7f8b94b8
+3
View File
@@ -31,6 +31,9 @@ class LongSeriesImageColumn(tables.Column):
def render(self, value):
obj = value.first()
if obj is None:
return "None"
image_object = obj.image
try:
thumbnailer = get_thumbnailer(image_object)