aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/assessments/admin.py
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2020-03-12 15:24:46 +0000
committerMatthew Lemon <matt@matthewlemon.com>2020-03-12 15:24:46 +0000
commit53ddd0817778d4999e49a61119ac4ab81e8af2f8 (patch)
treebc172c19137ed98c0853353ec6f2fa52ec4923dd /ctrack/assessments/admin.py
parent908b6e758de311b6b6b3d07370b984b18bff6028 (diff)
added assessments app
Diffstat (limited to '')
-rw-r--r--ctrack/assessments/admin.py31
1 files changed, 31 insertions, 0 deletions
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)