Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #19614 -- Missing request argument in render call.

Thanks Dima Pravdin for the report.
  • Loading branch information...
commit 74d72e21b405956bec9775b90e052e89f03a5e2e 1 parent c9b577e
Aymeric Augustin authored January 15, 2013

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  docs/topics/auth/default.txt
2  docs/topics/auth/default.txt
@@ -372,7 +372,7 @@ login page::
372 372
 
373 373
     def my_view(request):
374 374
         if not request.user.is_authenticated():
375  
-            return render('myapp/login_error.html')
  375
+            return render(request, 'myapp/login_error.html')
376 376
         # ...
377 377
 
378 378
 .. currentmodule:: django.contrib.auth.decorators

0 notes on commit 74d72e2

Please sign in to comment.
Something went wrong with that request. Please try again.