From 6428f1cb72b912a94217fb22eb187f5b80f7088f Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Tue, 15 Jan 2013 14:36:47 +0100 Subject: [PATCH] [1.5.x] Fixed #19614 -- Missing request argument in render call. Thanks Dima Pravdin for the report. Backport of 74d72e2. --- 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 681ea02961c..7255f28d42c 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