.
This commit is contained in:
@@ -231,8 +231,6 @@ class LongSeries(models.Model):
|
|||||||
return "No images", 0
|
return "No images", 0
|
||||||
|
|
||||||
img = findMiddle(images).image
|
img = findMiddle(images).image
|
||||||
thumbnailer = get_thumbnailer(img)
|
|
||||||
thumbnail = thumbnailer["exam-list"]
|
|
||||||
try:
|
try:
|
||||||
thumbnailer = get_thumbnailer(img)
|
thumbnailer = get_thumbnailer(img)
|
||||||
thumbnail = thumbnailer["exam-list"]
|
thumbnail = thumbnailer["exam-list"]
|
||||||
|
|||||||
+1
-1
@@ -57,7 +57,7 @@ class LongTable(tables.Table):
|
|||||||
class Meta:
|
class Meta:
|
||||||
model = Long
|
model = Long
|
||||||
template_name = "django_tables2/bootstrap4.html"
|
template_name = "django_tables2/bootstrap4.html"
|
||||||
fields = ("examination", "created_date", "author")
|
fields = ("exam", "created_date", "author")
|
||||||
sequence = ("view", "series")
|
sequence = ("view", "series")
|
||||||
|
|
||||||
class PopupLinkColumn(tables.Column):
|
class PopupLinkColumn(tables.Column):
|
||||||
|
|||||||
Reference in New Issue
Block a user