summaryrefslogtreecommitdiff
path: root/gstudio/admin/intersection.py
blob: 49f2c5d0a0cb1264178fb175e9b60de6fce259f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from django.contrib import admin
from django.core.urlresolvers import NoReverseMatch
from django.utils.translation import ugettext_lazy as _

from gstudio.admin.forms import IntersectionAdminForm
import reversion
from gstudio.settings import GSTUDIO_VERSIONING
if GSTUDIO_VERSIONING == True:
    parent_class = reversion.VersionAdmin
else:
    parent_class = admin.ModelAdmin 

class IntersectionAdmin(parent_class):
    pass