django-admin-sortable/adminsortable/__init__.py
Brandon Taylor 80bdaafdc3 Refactored sorting_filters into a tuple and moved logic for retrieving sorting filters into the sort_view versus changelist_view.
Updated readme.
Updated sample project to leverage new sorting_filters on Person model and admin.
Removed custom change list template for Person admin.
2014-03-05 09:10:47 -05:00

17 lines
399 B
Python
Executable file

VERSION = (1, 6, 6) # 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()