M wiki/views/accounts.py => wiki/views/accounts.py +1 -1
@@ 47,7 47,7 @@ class Signup(CreateView):
c = RequestContext(
request, {
'error_msg': _('Account signup is only allowed for administrators.'), })
- return render_to_response("wiki/error.html", context_instance=c)
+ return render_to_response("wiki/error.html", context=c)
return super(Signup, self).dispatch(request, *args, **kwargs)
M wiki/views/article.py => wiki/views/article.py +1 -1
@@ 875,7 875,7 @@ def merge(
'merge2': article.current_revision,
'merge': True,
'content': content})
- return render_to_response(template_file, context_instance=c)
+ return render_to_response(template_file, context=c)
class CreateRootView(FormView):