mirror of
				https://github.com/django/django.git
				synced 2025-10-30 17:16:10 +00:00 
			
		
		
		
	[1.10.x] Fixed #26986 -- Documented force_login() delegation to auth backends.
Backport of 3c20aa49d7 from master
			
			
This commit is contained in:
		| @@ -827,6 +827,9 @@ Miscellaneous | |||||||
| * In light of the previous change, the test client's | * In light of the previous change, the test client's | ||||||
|   :meth:`~django.test.Client.login()` method no longer always rejects inactive |   :meth:`~django.test.Client.login()` method no longer always rejects inactive | ||||||
|   users but instead delegates this decision to the authentication backend. |   users but instead delegates this decision to the authentication backend. | ||||||
|  |   :meth:`~django.test.Client.force_login()` also delegates the decision to the | ||||||
|  |   authentication backend, so if you're using the default backends, you need to | ||||||
|  |   use an active user. | ||||||
|  |  | ||||||
| * :func:`django.views.i18n.set_language` may now return a 204 status code for | * :func:`django.views.i18n.set_language` may now return a 204 status code for | ||||||
|   AJAX requests. |   AJAX requests. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user