This commit is contained in:
Ross
2025-04-07 13:25:46 +01:00
parent dd334c6d6d
commit 5d37cf4284
7 changed files with 28 additions and 28 deletions
+2 -3
View File
@@ -41,8 +41,7 @@ class QuestionTable(tables.Table):
class Meta:
model = Question
template_name = "django_tables2/bootstrap4.html"
fields = ("normal", "abnormality", "region", "examination",
"laterality",
fields = ("normal", "examination",
#"site",
"created_date", "open_access", "author")
sequence = ("view", "images", "exams")
@@ -51,7 +50,7 @@ class QuestionTable(tables.Table):
def __init__(self, data=None, *args, **kwargs):
super().__init__(
data.prefetch_related(
"abnormality", "region", "examination", "images", "exams", "author"
"examination", "images", "exams", "author"
),
*args,
**kwargs,