Refactor QuestionTable to inherit Meta options from SelectionTable for consistency
This commit is contained in:
+1
-1
@@ -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 = (
|
||||
|
||||
Reference in New Issue
Block a user