blob: 869b542ea69651d2c2f7515a79adaa876bf7cb9f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
from django.contrib import admin
from ctrack.assessments.models import CAFAssessment, CAFObjective, CAFPrinciple, CAFContributingOutcome, \
CAFAssessmentOutcomeScore, IGP, AchievementLevel
class CAFAssessmentAdmin(admin.ModelAdmin):
model = CAFAssessment
class CAFObjectiveAdmin(admin.ModelAdmin):
model = CAFObjective
class CAFPrincipleAdmin(admin.ModelAdmin):
model = CAFPrinciple
class CAFContributingOutcomeAdmin(admin.ModelAdmin):
model = CAFContributingOutcome
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)
|