From 70a8f6e37a462f2508ed024b2ee34f0df6b16a3b Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 25 Feb 2020 08:35:03 +0000 Subject: fixed issue where gradings didnt appear on caf admin page --- ctrack/caf/admin.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ctrack/caf/admin.py') diff --git a/ctrack/caf/admin.py b/ctrack/caf/admin.py index b0f1218..6a87233 100644 --- a/ctrack/caf/admin.py +++ b/ctrack/caf/admin.py @@ -15,9 +15,11 @@ class EssentialServiceAdmin(admin.StackedInline): class CAFAdmin(admin.ModelAdmin): + # TODO - we need the CAF list to show essential services + # but this is a many-to-many relationship, so we need to summarise it somehow model = CAF inlines = [EssentialServiceAdmin] - list_display = ["owner", "triage_grading", "confidence_grading", "file"] + list_display = ["owner", "quality_grading", "confidence_grading", "file"] admin.site.register(CAF, CAFAdmin) -- cgit v1.2.3