mirror of
https://github.com/jazzband/django-categories.git
synced 2026-03-16 22:30:24 +00:00
Removed some RemovedInDjango110Warning warnings
This commit is contained in:
parent
840ea77f14
commit
bdb6278559
1 changed files with 3 additions and 2 deletions
|
|
@ -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):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue