mirror of
				https://github.com/django/django.git
				synced 2025-10-29 00:26:07 +00:00 
			
		
		
		
	[1.5.x] Fixed #19614 -- Missing request argument in render call.
Thanks Dima Pravdin for the report.
Backport of 74d72e2.
			
			
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user