From bdb6278559faccb22ab11471b4634bd3a69de8f2 Mon Sep 17 00:00:00 2001 From: Brent O'Connor Date: Sat, 5 Mar 2016 19:44:33 -0600 Subject: [PATCH] Removed some RemovedInDjango110Warning warnings --- categories/editor/tree_editor.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/categories/editor/tree_editor.py b/categories/editor/tree_editor.py index a450977..04efe79 100644 --- a/categories/editor/tree_editor.py +++ b/categories/editor/tree_editor.py @@ -254,13 +254,14 @@ class TreeEditor(admin.ModelAdmin): }) context.update(extra_context or {}) context_instance = template.RequestContext( - request, current_app=self.admin_site.name + request, + context ) return render_to_response(self.change_list_template or [ 'admin/%s/%s/change_list.html' % (app_label, opts.object_name.lower()), 'admin/%s/change_list.html' % app_label, 'admin/change_list.html' - ], context, context_instance=context_instance) + ], context=context_instance) def changelist_view(self, request, extra_context=None, *args, **kwargs): """