aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/assessments/admin.py
diff options
context:
space:
mode:
Diffstat (limited to 'ctrack/assessments/admin.py')
-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)