admin.py 376 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
Florent Chehab's avatar
Florent Chehab committed
5
from rex.models.localization import Country, Region, 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(Region)
Florent Chehab's avatar
Florent Chehab committed
10
admin.site.register(City)
Florent Chehab's avatar
Florent Chehab committed
11
12
13

admin.site.register(University, CompareVersionAdmin)
admin.site.register(MainCampus)