Skip to content

Commit

Permalink
Fix changlist TypeError. Return RequestContext as dict on changelist_…
Browse files Browse the repository at this point in the history
  • Loading branch information
xcono authored and epicserve committed May 15, 2017
1 parent 3c9cb2d commit 926d85a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion categories/editor/tree_editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def old_changelist_view(self, request, extra_context=None):
'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):
"""
Expand Down

0 comments on commit 926d85a

Please sign in to comment.