This commit is contained in:
Ross
2022-03-30 21:42:09 +01:00
parent fb9cae9a66
commit 6c7637bba2
+9
View File
@@ -88,4 +88,13 @@ class RapidUserAnswerTable(tables.Table):
"created", "created",
"updated", "updated",
) )
def __init__(self, data=None, *args, **kwargs):
super().__init__(
data.prefetch_related(
"abnormality", "region", "examination"
),
*args,
**kwargs,
)