remove root_path, which produces an error on django 1.4 and also is not used in the template
parent
49b7d7d0e3
commit
cbbcf901fc
|
|
@ -108,7 +108,6 @@ class SortableAdmin(ModelAdmin):
|
||||||
context = {
|
context = {
|
||||||
'title' : 'Drag and drop %s to change display order' % capfirst(verbose_name_plural),
|
'title' : 'Drag and drop %s to change display order' % capfirst(verbose_name_plural),
|
||||||
'opts' : opts,
|
'opts' : opts,
|
||||||
'root_path' : '/%s' % admin_site.root_path,
|
|
||||||
'app_label' : opts.app_label,
|
'app_label' : opts.app_label,
|
||||||
'has_perm' : has_perm,
|
'has_perm' : has_perm,
|
||||||
'objects' : objects,
|
'objects' : objects,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue