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

from gstudio.admin.forms import AttributeBigIntegerFieldAdminForm
import reversion
if GSTUDIO_VERSIONING == True:
    parent_class = reversion.VersionAdmin
else:
   parent_class = admin.ModelAdmin
class AttributeBigIntegerFieldAdmin(parent_class):
    pass