mirror of
https://github.com/jazzband/django-admin-sortable.git
synced 2026-03-20 16:00:28 +00:00
Version bump to 1.7.2.
Merged pull request for commit 4e38d91.
Removed version specifications from requirements.txt in sample project.
17 lines
393 B
Python
17 lines
393 B
Python
VERSION = (1, 7, 2) # following PEP 386
|
|
DEV_N = None
|
|
|
|
|
|
def get_version():
|
|
version = '{}.{}'.format(VERSION[0], VERSION[1])
|
|
if VERSION[2]:
|
|
version = '{}.{}'.format(version, VERSION[2])
|
|
try:
|
|
if VERSION[3]:
|
|
version = '{}.{}'.format(version, VERSION[3])
|
|
except IndexError:
|
|
pass
|
|
return version
|
|
|
|
|
|
__version__ = get_version()
|