Kaydet (Commit) 74d72e21 authored tarafından Aymeric Augustin's avatar Aymeric Augustin

Fixed #19614 -- Missing request argument in render call.

Thanks Dima Pravdin for the report.
üst c9b577ea
......@@ -372,7 +372,7 @@ login page::
def my_view(request):
if not request.user.is_authenticated():
return render('myapp/login_error.html')
return render(request, 'myapp/login_error.html')
# ...
.. currentmodule:: django.contrib.auth.decorators
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment