How to get initial CSRF token from Django to Angular frontend?
I have a Angular and Django setup for a site and I’ve set up CSRF tokens and everything. However I don’t know how to generate an initial token so that the user can log in. When they try to log in, the backend complains that there is no CSRF token in the request.