mirror of
https://github.com/jazzband/django-categories.git
synced 2026-05-04 21:54:50 +00:00
Fix changlist TypeError. Return RequestContext as dict on changelist_view. Based on changes in Django 1.11 (https://docs.djangoproject.com/en/1.11/releases/1.11/#django-template-backends-django-template-render-prohibits-non-dict-context)
This commit is contained in:
parent
3c9cb2dec9
commit
926d85a04e
1 changed files with 1 additions and 1 deletions
|
|
@ -261,7 +261,7 @@ class TreeEditor(admin.ModelAdmin):
|
|||
'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=context_instance.flatten())
|
||||
|
||||
def changelist_view(self, request, extra_context=None, *args, **kwargs):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue