Thumbnails for images and videos #87

Merged
Anna Sirota merged 28 commits from thumbnails into main 2024-04-25 17:50:58 +02:00
Showing only changes of commit adbc385197 - Show all commits

View File

@ -55,7 +55,7 @@ class FileAdmin(admin.ModelAdmin):
return render_to_string('files/admin/thumbnails.html', context)
except Exception:
# 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')
raise