Merge pull request #32 from knyazz/master
Not works with cyrillic verbose_name_plural
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
VERSION = (1, 4, 1) # following PEP 386
|
VERSION = (1, 4, 2) # following PEP 386
|
||||||
DEV_N = None
|
DEV_N = None
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -142,7 +142,7 @@ class SortableAdmin(ModelAdmin):
|
|||||||
verbose_name_plural = opts.verbose_name_plural
|
verbose_name_plural = opts.verbose_name_plural
|
||||||
|
|
||||||
context = {
|
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)),
|
capfirst(verbose_name_plural)),
|
||||||
'opts': opts,
|
'opts': opts,
|
||||||
'app_label': opts.app_label,
|
'app_label': opts.app_label,
|
||||||
|
|||||||
Reference in New Issue
Block a user