ib
Size: a a a
ib
ib
G
ib
DT
ib
G
G
S
А
ib
ib
G
O
class Bla(Serializer):
class Meta:
model = BaseModel......
....
S
S
Ю
AF
E
D
from django.contrib.auth import authenticate
user = authenticate(username='john', password='secret')
if user is not None:
# A backend authenticated the credentials
else:
# No backend authenticated the credentials