django-admin-sortable/adminsortable/__init__.py
Brandon Taylor 469e7d5d4d Added new stacked and tabular change form templates for inlines from Django 1.6.
Added backwards compatibility changes for the setting of the edit inline template to use.
2013-11-25 22:03:20 -05:00

17 lines
399 B
Python
Executable file

VERSION = (1, 6, 2) # following PEP 386
DEV_N = None
def get_version():
version = '{0}.{1}'.format(VERSION[0], VERSION[1])
if VERSION[2]:
version = '{0}.{1}'.format(version, VERSION[2])
try:
if VERSION[3]:
version = '{0}.{1}'.format(version, VERSION[3])
except IndexError:
pass
return version
__version__ = get_version()