summaryrefslogtreecommitdiff
path: root/tests/test_client/auth_backends.py
blob: a20b0be4de5e8bf6fd0db7a3996d03a8d725c305 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from django.contrib.auth.backends import BaseBackend, ModelBackend


class TestClientBackend(ModelBackend):
    pass


class BackendWithoutGetUserMethod:
    pass


class PermissionOnlyBackend(BaseBackend):
    """This class inherits from BaseBackend but does not implement get_user."""

    pass