diff options
author | Matthew Lemon <matt@matthewlemon.com> | 2020-02-25 08:35:03 +0000 |
---|---|---|
committer | Matthew Lemon <matt@matthewlemon.com> | 2020-02-25 08:35:03 +0000 |
commit | 70a8f6e37a462f2508ed024b2ee34f0df6b16a3b (patch) | |
tree | b197a39384b8469e25e14308fe567e48b62303b4 /ctrack/caf/admin.py | |
parent | 9269f3c3798b677b4e46abcc5df5f869c9cb9164 (diff) |
fixed issue where gradings didnt appear on caf admin page
Diffstat (limited to 'ctrack/caf/admin.py')
-rw-r--r-- | ctrack/caf/admin.py | 4 |
1 files changed, 3 insertions, 1 deletions
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) |