admin.py 349 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
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)
12
admin.site.register(Campus, CompareVersionAdmin)