diff --git a/physics/tables.py b/physics/tables.py index 969cb0dc..4e05d6c7 100644 --- a/physics/tables.py +++ b/physics/tables.py @@ -74,6 +74,7 @@ class UserAnswerTable(tables.Table): template_name = "django_tables2/bootstrap4.html" fields = ( "cid", + "user", "question", "answer", # "answer_compare", diff --git a/sbas/filters.py b/sbas/filters.py index 71492599..1c5e5f93 100644 --- a/sbas/filters.py +++ b/sbas/filters.py @@ -48,6 +48,7 @@ class UserAnswerFilter(django_filters.FilterSet): model= UserAnswer fields = ( "cid", + "user", #"question", "answer", #"answer_compare", diff --git a/sbas/tables.py b/sbas/tables.py index bb7b374b..2d481477 100644 --- a/sbas/tables.py +++ b/sbas/tables.py @@ -68,6 +68,7 @@ class UserAnswerTable(tables.Table): template_name = "django_tables2/bootstrap4.html" fields = ( "cid", + "user", "question", "answer", #"answer_compare",