mirror of
https://github.com/jazzband/django-admin-sortable.git
synced 2026-04-13 03:11:04 +00:00
Incremented version to 1.2. Refactored ORM calls to properly order objects by the sortable_by property to ensure objects are grouped correctly in the sortable change list template after being passed through dynamic_regroup. Fixed missing import for jquery.effects.core, again. Refactored sortable_by classmethod into a property.
16 lines
422 B
Python
Executable file
16 lines
422 B
Python
Executable file
VERSION = (1, 2, "f", 0) # following PEP 386
|
|
DEV_N = None
|
|
|
|
|
|
def get_version():
|
|
version = "%s.%s" % (VERSION[0], VERSION[1])
|
|
if VERSION[2]:
|
|
version = "%s.%s" % (version, VERSION[2])
|
|
if VERSION[3] != "f":
|
|
version = "%s%s%s" % (version, VERSION[3], VERSION[4])
|
|
if DEV_N:
|
|
version = "%s.dev%s" % (version, DEV_N)
|
|
return version
|
|
|
|
|
|
__version__ = get_version()
|