From 53ddd0817778d4999e49a61119ac4ab81e8af2f8 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Thu, 12 Mar 2020 15:24:46 +0000 Subject: added assessments app --- ctrack/assessments/admin.py | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 ctrack/assessments/admin.py (limited to 'ctrack/assessments/admin.py') diff --git a/ctrack/assessments/admin.py b/ctrack/assessments/admin.py new file mode 100644 index 0000000..a78dfe0 --- /dev/null +++ b/ctrack/assessments/admin.py @@ -0,0 +1,31 @@ +from django.contrib import admin + +from ctrack.assessments.models import CAFSelfAssessment, CAFObjective, CAFPrinciple, CAFContributingOutcome, \ + CAFSelfAssessmentOutcomeScore + + +class CAFSelfAssessmentAdmin(admin.ModelAdmin): + model = CAFSelfAssessment + + +class CAFObjectiveAdmin(admin.ModelAdmin): + model = CAFObjective + + +class CAFPrincipleAdmin(admin.ModelAdmin): + model = CAFPrinciple + + +class CAFContributingOutcomeAdmin(admin.ModelAdmin): + model = CAFContributingOutcome + + +class CAFSelfAssessmentOutcomeScoreAdmin(admin.ModelAdmin): + model = CAFSelfAssessmentOutcomeScore + + +admin.site.register(CAFSelfAssessment, CAFSelfAssessmentAdmin) +admin.site.register(CAFObjective, CAFObjectiveAdmin) +admin.site.register(CAFPrinciple, CAFPrincipleAdmin) +admin.site.register(CAFContributingOutcome, CAFContributingOutcomeAdmin) +admin.site.register(CAFSelfAssessmentOutcomeScore, CAFSelfAssessmentOutcomeScoreAdmin) -- cgit v1.2.3