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

Florent Chehab's avatar
Florent Chehab committed
4
from rex.models.university import University, MainCampus
5
from rex.models.location import Country, City
6

7
from rex.models.module import BasicModule
Florent Chehab's avatar
Florent Chehab committed
8

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

admin.site.register(University, CompareVersionAdmin)
Florent Chehab's avatar
Florent Chehab committed
14
admin.site.register(MainCampus, CompareVersionAdmin)