diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-01-15 14:36:47 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-01-15 14:37:25 +0100 |
| commit | 6428f1cb72b912a94217fb22eb187f5b80f7088f (patch) | |
| tree | eda35454c7a7fac8e1e0617f5129189ff0250da8 /docs | |
| parent | b7828705c8a87a079b6226caf959c821bd51fa91 (diff) | |
[1.5.x] Fixed #19614 -- Missing request argument in render call.
Thanks Dima Pravdin for the report.
Backport of 74d72e2.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/auth/default.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/auth/default.txt b/docs/topics/auth/default.txt index 681ea02961..7255f28d42 100644 --- a/docs/topics/auth/default.txt +++ b/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 |
