~netlandish/django-wiki

91164d202bb26ab5016b69d41274bd83cef68e00 — Benjamin Bach 7 years ago 1dc7353
Rename deprecated context_instance kwarg
2 files changed, 2 insertions(+), 2 deletions(-)

M wiki/views/accounts.py
M wiki/views/article.py
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):