Glossary: Django Beyond the Basics
force_authenticate
Also written: force_authenticate(user=...)
A method on DRF's test client that signs a user in for later requests without a password or token.
Glossary: Django Beyond the Basics
Also written: force_authenticate(user=...)
A method on DRF's test client that signs a user in for later requests without a password or token.