.
This commit is contained in:
+1
-1
@@ -60,7 +60,7 @@ class QuestionTable(tables.Table):
|
|||||||
return mark_safe(value)
|
return mark_safe(value)
|
||||||
|
|
||||||
def render_answers(self, value, record):
|
def render_answers(self, value, record):
|
||||||
return format_html(f"<ol><li>{record.answer_a}</li></ol>")
|
return format_html(f"<ol><li>{value} - {record.answer_a}</li></ol>")
|
||||||
|
|
||||||
|
|
||||||
class UserAnswerTable(tables.Table):
|
class UserAnswerTable(tables.Table):
|
||||||
|
|||||||
Reference in New Issue
Block a user