Fixed merge conflicts.

This commit is contained in:
Brandon Taylor
2016-03-14 11:36:41 -04:00
4 changed files with 12 additions and 15 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
VERSION = (2, 0, 13)
DEV_N = None
VERSION = (2, 0, 14)
DEV_N = None
def get_version():
version = '{0}.{1}'.format(VERSION[0], VERSION[1])
+1 -1
View File
@@ -194,7 +194,7 @@ class SortableAdmin(SortableAdminBase, ModelAdmin):
except (AttributeError, IndexError):
# for Django 1.5.x
order_field_name = opts.ordering[0]
finally:
except (AttributeError, IndexError):
order_field_name = 'order'
objects = objects.order_by(sortable_by_expression, order_field_name)