Skip to content

Commit

Permalink
fix: Remove context_instance leftover from Django 1.10 Upgrade (#947)
Browse files Browse the repository at this point in the history
* fix: Remove context_instance

Signed-off-by: Niket Shah <[email protected]>
  • Loading branch information
mrniket authored Apr 29, 2019
1 parent ab9508b commit ad9a38d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions portal/views/teacher/solutions_level_selector.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ def levels(request):

episode_data = fetch_episode_data(app_settings.EARLY_ACCESS_FUNCTION(request))

context = RequestContext(request, {"episodeData": episode_data})
return render(
request, "portal/teach/teacher_level_solutions.html", context_instance=context
request,
"portal/teach/teacher_level_solutions.html",
{"episodeData": episode_data},
)

0 comments on commit ad9a38d

Please sign in to comment.