Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[1.5.x] Fixed #19614 -- Missing request argument in render call.

Thanks Dima Pravdin for the report.

Backport of 74d72e2.
  • Loading branch information...
commit 6428f1cb72b912a94217fb22eb187f5b80f7088f 1 parent b782870
@aaugustin aaugustin authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/topics/auth/default.txt
View
2  docs/topics/auth/default.txt
@@ -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

0 comments on commit 6428f1c

Please sign in to comment.
Something went wrong with that request. Please try again.