admin.py 764 Bytes
Newer Older
Florent Chehab's avatar
Florent Chehab committed
1
from django.contrib import admin
2 3
from reversion_compare.admin import CompareVersionAdmin

4
from rex.models.university import University, Campus, UniversityScholarship
5
from rex.models.university import UniversityInfo
Florent Chehab's avatar
Florent Chehab committed
6
from rex.models.university import SemestersDates
7
from rex.models.university import UniversityInsurance
8
from rex.models.location import Country, City
9

Florent Chehab's avatar
Florent Chehab committed
10

11
admin.site.register(Country)
Florent Chehab's avatar
Florent Chehab committed
12
admin.site.register(City)
Florent Chehab's avatar
Florent Chehab committed
13 14

admin.site.register(University, CompareVersionAdmin)
15
admin.site.register(Campus, CompareVersionAdmin)
16
admin.site.register(UniversityScholarship, CompareVersionAdmin)
17
admin.site.register(UniversityInfo, CompareVersionAdmin)
Florent Chehab's avatar
Florent Chehab committed
18
admin.site.register(SemestersDates, CompareVersionAdmin)
19
admin.site.register(UniversityInsurance, CompareVersionAdmin)