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...
1 parent b782870 commit 6428f1cb72b912a94217fb22eb187f5b80f7088f @aaugustin aaugustin committed Jan 15, 2013
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.