From 74d72e21b405956bec9775b90e052e89f03a5e2e Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Tue, 15 Jan 2013 14:36:47 +0100 Subject: [PATCH] Fixed #19614 -- Missing request argument in render call. Thanks Dima Pravdin for the report. --- docs/topics/auth/default.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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