more fixes

This commit is contained in:
Ross
2020-12-12 12:19:25 +00:00
parent fdca107d16
commit 5ca4438e77
4 changed files with 12 additions and 6 deletions
+3 -2
View File
@@ -28,10 +28,11 @@ class AnatomyQuestionTable(tables.Table):
# text='Clone',
# args=[A('pk')],
# orderable=False)
exams = tables.ManyToManyColumn(verbose_name="Exams")
class Meta:
model = AnatomyQuestion
template_name = "django_tables2/bootstrap4.html"
fields = ("question_type", "exams", "description", "examination", "modality", "region",
fields = ("question_type", "description", "examination", "modality", "region",
"body_part", "created_date", "open_access", "author")
sequence = ("view", "image")
sequence = ("view", "image", "exams")