remove root_path, which produces an error on django 1.4 and also is not used in the template

master
Dominique Lederer 2012-03-15 09:39:55 +01:00
parent 49b7d7d0e3
commit cbbcf901fc
1 changed files with 0 additions and 1 deletions

View File

@ -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,