Thumbnails for images and videos #87
@ -55,7 +55,7 @@ class FileAdmin(admin.ModelAdmin):
|
|||||||
return render_to_string('files/admin/thumbnails.html', context)
|
return render_to_string('files/admin/thumbnails.html', context)
|
||||||
except Exception:
|
except Exception:
|
||||||
# Make sure any exception happening here is always logged
|
# Make sure any exception happening here is always logged
|
||||||
# (e.g. admin eats exception in ModelAdmin properties, making it hard to debug)
|
# (e.g. admin eats exceptions in ModelAdmin properties, making it hard to debug)
|
||||||
logger.exception('Failed to render thumbnails')
|
logger.exception('Failed to render thumbnails')
|
||||||
raise
|
raise
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user