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:36:47 +0100 |
| commit | 74d72e21b405956bec9775b90e052e89f03a5e2e (patch) | |
| tree | 41bcb8ceea74c1cb4884c2a5403f521ea713ea15 | |
| parent | c9b577ead6ca9a96e2066fd739b7c340dae5ca3a (diff) | |
Fixed #19614 -- Missing request argument in render call.
Thanks Dima Pravdin for the report.
| -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 82cabadbec..d1463c645b 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 |
