aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/caf/admin.py
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2020-02-25 08:19:35 +0000
committerMatthew Lemon <matt@matthewlemon.com>2020-02-25 08:19:35 +0000
commit9269f3c3798b677b4e46abcc5df5f869c9cb9164 (patch)
treeb35b4b6b0e7407e6056084b8e4ad19614e612478 /ctrack/caf/admin.py
parentfdf52fb15cb594f8717b852c33a292149a21b8b8 (diff)
populate now does gradings
Diffstat (limited to '')
-rw-r--r--ctrack/caf/admin.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/ctrack/caf/admin.py b/ctrack/caf/admin.py
index 139b013..b0f1218 100644
--- a/ctrack/caf/admin.py
+++ b/ctrack/caf/admin.py
@@ -1,8 +1,6 @@
from django.contrib import admin
-from .models import CAF, CAFFileStore, DocumentFile, Ranking
-from .models import ConfidenceAssessment
-from .models import EssentialService
+from .models import CAF, CAFFileStore, DocumentFile, Grading, EssentialService
class EssentialServiceListAdmin(admin.ModelAdmin):
@@ -19,12 +17,11 @@ class EssentialServiceAdmin(admin.StackedInline):
class CAFAdmin(admin.ModelAdmin):
model = CAF
inlines = [EssentialServiceAdmin]
- list_display = ["owner", "triage_ranking", "confidence_assessment", "file"]
+ list_display = ["owner", "triage_grading", "confidence_grading", "file"]
admin.site.register(CAF, CAFAdmin)
admin.site.register(CAFFileStore)
admin.site.register(DocumentFile)
-admin.site.register(Ranking)
-admin.site.register(ConfidenceAssessment)
+admin.site.register(Grading)
admin.site.register(EssentialService, EssentialServiceListAdmin)