How to authenticate DRF API calls from a JavaScript client using Session Auth
briancaffey.github.io