remove root_path, which produces an error on django 1.4 and also is not used in the template
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user