diff options
author | MR Lemon <matt@matthewlemon> | 2020-05-12 16:31:12 +0100 |
---|---|---|
committer | MR Lemon <matt@matthewlemon> | 2020-05-12 16:31:12 +0100 |
commit | 4201470c63c9719ca90710847985fc548ad9e6b9 (patch) | |
tree | 583ef880a7d7775a79f10511399165a8fca54670 /ctrack/assessments/admin.py | |
parent | dade2f791d101d1fd582782c50d76fcb95ba5596 (diff) |
basic population of IGP data
Diffstat (limited to '')
-rw-r--r-- | ctrack/assessments/admin.py | 12 |
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) |