From daf1bdf1d7f03e51760f90120ce42e285d850019 Mon Sep 17 00:00:00 2001 From: Ross Date: Sun, 14 Feb 2021 18:05:57 +0000 Subject: [PATCH] . --- longs/models.py | 2 -- longs/tables.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/longs/models.py b/longs/models.py index 72e7558d..40fd7934 100644 --- a/longs/models.py +++ b/longs/models.py @@ -231,8 +231,6 @@ class LongSeries(models.Model): return "No images", 0 img = findMiddle(images).image - thumbnailer = get_thumbnailer(img) - thumbnail = thumbnailer["exam-list"] try: thumbnailer = get_thumbnailer(img) thumbnail = thumbnailer["exam-list"] diff --git a/longs/tables.py b/longs/tables.py index b1119226..c1bfddc9 100755 --- a/longs/tables.py +++ b/longs/tables.py @@ -57,7 +57,7 @@ class LongTable(tables.Table): class Meta: model = Long template_name = "django_tables2/bootstrap4.html" - fields = ("examination", "created_date", "author") + fields = ("exam", "created_date", "author") sequence = ("view", "series") class PopupLinkColumn(tables.Column):