admin.py 357 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

Florent Chehab's avatar
Florent Chehab committed
7

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

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