From cbbcf901fc5ce7c7d42422752c34230490ce4341 Mon Sep 17 00:00:00 2001 From: Dominique Lederer Date: Thu, 15 Mar 2012 09:39:55 +0100 Subject: [PATCH] remove root_path, which produces an error on django 1.4 and also is not used in the template --- adminsortable/admin.py | 1 - 1 file changed, 1 deletion(-) diff --git a/adminsortable/admin.py b/adminsortable/admin.py index 459042a..1166448 100644 --- a/adminsortable/admin.py +++ b/adminsortable/admin.py @@ -108,7 +108,6 @@ class SortableAdmin(ModelAdmin): context = { 'title' : 'Drag and drop %s to change display order' % capfirst(verbose_name_plural), 'opts' : opts, - 'root_path' : '/%s' % admin_site.root_path, 'app_label' : opts.app_label, 'has_perm' : has_perm, 'objects' : objects,