.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user