Skip to content

Commit

Permalink
Removed some RemovedInDjango110Warning warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
epicserve committed Mar 6, 2016
1 parent 840ea77 commit bdb6278
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions categories/editor/tree_editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,13 +254,14 @@ def old_changelist_view(self, request, extra_context=None):
})
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):
"""
Expand Down

0 comments on commit bdb6278

Please sign in to comment.