Example project showing how to implement Django Rest Framework authentication in your web application by leveraging the built-in Django session framework.
This approach is way simpler (and secure) than other popular methods such as JWT, and has only one requirement: your frontend (think Vue.js, React, ...) and your backend should be served by the same domain.
A more detailed explaination can be found in my tutorial: