aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/assessments/admin.py
diff options
context:
space:
mode:
authorMR Lemon <matt@matthewlemon>2020-05-12 16:31:12 +0100
committerMR Lemon <matt@matthewlemon>2020-05-12 16:31:12 +0100
commit4201470c63c9719ca90710847985fc548ad9e6b9 (patch)
tree583ef880a7d7775a79f10511399165a8fca54670 /ctrack/assessments/admin.py
parentdade2f791d101d1fd582782c50d76fcb95ba5596 (diff)
basic population of IGP data
Diffstat (limited to '')
-rw-r--r--ctrack/assessments/admin.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/ctrack/assessments/admin.py b/ctrack/assessments/admin.py
index 10c19d0..869b542 100644
--- a/ctrack/assessments/admin.py
+++ b/ctrack/assessments/admin.py
@@ -1,7 +1,7 @@
from django.contrib import admin
from ctrack.assessments.models import CAFAssessment, CAFObjective, CAFPrinciple, CAFContributingOutcome, \
- CAFAssessmentOutcomeScore
+ CAFAssessmentOutcomeScore, IGP, AchievementLevel
class CAFAssessmentAdmin(admin.ModelAdmin):
@@ -24,8 +24,18 @@ class CAFAssessmentOutcomeScoreAdmin(admin.ModelAdmin):
model = CAFAssessmentOutcomeScore
+class IGPAdmin(admin.ModelAdmin):
+ model = IGP
+
+
+class AchievementLevelAdmin(admin.ModelAdmin):
+ model = AchievementLevel
+
+
admin.site.register(CAFAssessment, CAFAssessmentAdmin)
admin.site.register(CAFObjective, CAFObjectiveAdmin)
admin.site.register(CAFPrinciple, CAFPrincipleAdmin)
admin.site.register(CAFContributingOutcome, CAFContributingOutcomeAdmin)
admin.site.register(CAFAssessmentOutcomeScore, CAFAssessmentOutcomeScoreAdmin)
+admin.site.register(IGP, IGPAdmin)
+admin.site.register(AchievementLevel, AchievementLevelAdmin)