1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #27542 -- Made Client.force_login() skip auth backends without get_user().

This commit is contained in:
Anton Samarchyan
2016-11-30 13:37:07 -05:00
committed by Tim Graham
parent e690eb405f
commit 47744a0a4e
3 changed files with 22 additions and 1 deletions

View File

@@ -3,3 +3,7 @@ from django.contrib.auth.backends import ModelBackend
class TestClientBackend(ModelBackend):
pass
class BackendWithoutGetUserMethod(object):
pass