Skip to content

Commit

Permalink
remove leftover context.update calls
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher DeCairos committed Jan 18, 2018
1 parent 56ff687 commit ddf7c8f
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ def render_sortable_objects(
objects,
sortable_objects_template='adminsortable/shared/objects.html'
):
context.update({'objects': objects})
tmpl = template.loader.get_template(sortable_objects_template)
return tmpl.render({
'objects': objects,
Expand All @@ -25,7 +24,6 @@ def render_nested_sortable_objects(
group_expression,
sortable_nested_objects_template='adminsortable/shared/nested_objects.html'
):
context.update({'objects': objects, 'group_expression': group_expression})
tmpl = template.loader.get_template(sortable_nested_objects_template)
return tmpl.render({
'objects': objects,
Expand Down

0 comments on commit ddf7c8f

Please sign in to comment.