blob: 10c19d0350fd80a86a290aedc0fa7876a5e44717 (
plain) (
tree)
|
|
from django.contrib import admin
from ctrack.assessments.models import CAFAssessment, CAFObjective, CAFPrinciple, CAFContributingOutcome, \
CAFAssessmentOutcomeScore
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
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)
|