Refactor QuestionTable to inherit Meta options from SelectionTable for consistency

This commit is contained in:
Ross
2025-11-01 21:42:33 +00:00
parent 0e7307de18
commit 206f0afd32
2 changed files with 21 additions and 40 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ class QuestionTable(SelectionTable):
"sbas:question_update", text="Edit", args=[A("pk")], orderable=False
)
class Meta:
class Meta(SelectionTable.Meta):
model = Question
template_name = "django_tables2/bootstrap4.html"
fields = (