mirror of
https://github.com/jazzband/django-admin-sortable.git
synced 2026-03-17 06:20:33 +00:00
Refactored sample_project imports to be compatible with Django 1.9 Updated unit tests for get_next/previous. Version bump to 2.0.8. Fixed typo in docs.
17 lines
399 B
Python
17 lines
399 B
Python
VERSION = (2, 0, 8) # 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()
|