fix unicode verbose_name view in administration
This commit is contained in:
1 parent
b804f25585
commit
c6e5f9e68e
1 file changed
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user