-
Notifications
You must be signed in to change notification settings - Fork 2
/
admin.py
69 lines (66 loc) · 2.6 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
##############################################################################
#
# 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 continuing_education.auth.roles import continuing_education_manager, continuing_education_student_worker, \
continuing_education_training_manager
from continuing_education.models import *
from continuing_education.models import file
admin.site.register(
admission.Admission,
admission.AdmissionAdmin
)
admin.site.register(
continuing_education_person.ContinuingEducationPerson,
continuing_education_person.ContinuingEducationPersonAdmin
)
admin.site.register(
address.Address,
address.AddressAdmin
)
admin.site.register(
file.AdmissionFile,
file.AdmissionFileAdmin
)
admin.site.register(
prospect.Prospect,
prospect.ProspectAdmin
)
admin.site.register(
continuing_education_training.ContinuingEducationTraining,
continuing_education_training.ContinuingEducationTrainingAdmin
)
admin.site.register(
continuing_education_manager.ContinuingEducationManager,
continuing_education_manager.ContinuingEducationManagerAdmin,
)
admin.site.register(
continuing_education_student_worker.ContinuingEducationStudentWorker,
continuing_education_student_worker.ContinuingEducationStudentWorkerAdmin,
)
admin.site.register(
continuing_education_training_manager.ContinuingEducationTrainingManager,
continuing_education_training_manager.ContinuingEducationTrainingManagerAdmin,
)