mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #20916 -- Added Client.force_login() to bypass authentication.
This commit is contained in:
5
tests/test_client/auth_backends.py
Normal file
5
tests/test_client/auth_backends.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from django.contrib.auth.backends import ModelBackend
|
||||
|
||||
|
||||
class TestClientBackend(ModelBackend):
|
||||
pass
|
||||
Reference in New Issue
Block a user