mirror of
https://github.com/jazzband/django-admin-sortable.git
synced 2026-03-19 15:30:26 +00:00
Added backwards compatibility changes for the setting of the edit inline template to use.
17 lines
399 B
Python
Executable file
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()
|