Alternative: pick one Step 12 of 16 on the Full-Stack Developer roadmap
Token-based auth
For frontends on another domain or for mobile apps, the API issues a token after login and the client sends it in a header. DRF's token authentication or a JWT package handles this for you.