From c6e5f9e68e06b1561833acec657e4512068ecad5 Mon Sep 17 00:00:00 2001 From: Smirnov Evgenii Date: Tue, 23 Apr 2013 10:55:25 +0400 Subject: [PATCH 1/2] fix unicode verbose_name view in administration --- adminsortable/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adminsortable/admin.py b/adminsortable/admin.py index 651eddc..3bb2ddc 100644 --- a/adminsortable/admin.py +++ b/adminsortable/admin.py @@ -142,7 +142,7 @@ class SortableAdmin(ModelAdmin): verbose_name_plural = opts.verbose_name_plural context = { - 'title': 'Drag and drop {0} to change display order'.format( + 'title': u'Drag and drop {0} to change display order'.format( capfirst(verbose_name_plural)), 'opts': opts, 'app_label': opts.app_label, From b4a9dfe406a5c4d4a67f7321d67c5e0ce790fb1d Mon Sep 17 00:00:00 2001 From: Smirnov Evgenii Date: Tue, 23 Apr 2013 11:16:58 +0400 Subject: [PATCH 2/2] change version to 1.4.2 --- adminsortable/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adminsortable/__init__.py b/adminsortable/__init__.py index 8720e30..56dc381 100755 --- a/adminsortable/__init__.py +++ b/adminsortable/__init__.py @@ -1,4 +1,4 @@ -VERSION = (1, 4, 1) # following PEP 386 +VERSION = (1, 4, 2) # following PEP 386 DEV_N = None