-
Notifications
You must be signed in to change notification settings - Fork 4
/
admin.py
86 lines (63 loc) · 4.09 KB
/
admin.py
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
##############################################################################
#
# OSIS stands for Open Student Information System. It's an application
# designed to manage the core business of higher education institutions,
# such as universities, faculties, institutes and professional schools.
# The core business involves the administration of students, teachers,
# courses, programs and so on.
#
# Copyright (C) 2015-2019 Université catholique de Louvain (http://www.uclouvain.be)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# A copy of this license - GNU General Public License - is available
# at the root of the source code of this program. If not,
# see http://www.gnu.org/licenses/.
#
##############################################################################
from django.contrib import admin
from internship.models import *
from internship.models import internship_score_reason, internship_place_evaluation_item, internship_certifier, \
internship_place_evaluation, internship_modality_period, internship_modality_apd
admin.site.register(cohort.Cohort, cohort.CohortAdmin)
admin.site.register(internship.Internship, internship.InternshipAdmin)
admin.site.register(internship_offer.InternshipOffer, internship_offer.InternshipOfferAdmin)
admin.site.register(internship_enrollment.InternshipEnrollment, internship_enrollment.InternshipEnrollmentAdmin)
admin.site.register(internship_master.InternshipMaster, internship_master.InternshipMasterAdmin)
admin.site.register(master_allocation.MasterAllocation, master_allocation.MasterAllocationAdmin)
admin.site.register(internship_choice.InternshipChoice, internship_choice.InternshipChoiceAdmin)
admin.site.register(period.Period, period.PeriodAdmin)
admin.site.register(internship_speciality.InternshipSpeciality, internship_speciality.InternshipSpecialityAdmin)
admin.site.register(organization.Organization, organization.OrganizationAdmin)
admin.site.register(internship_student_information.InternshipStudentInformation,
internship_student_information.InternshipStudentInformationAdmin)
admin.site.register(period_internship_places.PeriodInternshipPlaces,
period_internship_places.PeriodInternshipPlacesAdmin)
admin.site.register(internship_student_affectation_stat.InternshipStudentAffectationStat,
internship_student_affectation_stat.InternshipStudentAffectationStatAdmin)
admin.site.register(affectation_generation_time.AffectationGenerationTime,
affectation_generation_time.AffectationGenerationTimeAdmin)
admin.site.register(internship_score.InternshipScore,
internship_score.InternshipScoreAdmin)
admin.site.register(internship_score_mapping.InternshipScoreMapping,
internship_score_mapping.InternshipScoreMappingAdmin)
admin.site.register(internship_score_reason.InternshipScoreReason,
internship_score_reason.InternshipScoreReasonAdmin)
admin.site.register(internship_place_evaluation_item.PlaceEvaluationItem,
internship_place_evaluation_item.PlaceEvaluationItemAdmin)
admin.site.register(internship_certifier.InternshipCertifier,
internship_certifier.InternshipCertifierAdmin)
admin.site.register(internship_place_evaluation.PlaceEvaluation,
internship_place_evaluation.PlaceEvaluationAdmin)
admin.site.register(internship_modality_period.InternshipModalityPeriod,
internship_modality_period.InternshipModalityPeriodAdmin)
admin.site.register(internship_modality_apd.InternshipModalityApd,
internship_modality_apd.InternshipModalityApdAdmin)