1👍
I don’t understand the core of the problem, but you can always manually pull the token (the middleware calls this function).
from django.middleware.csrf import get_token
csrf = get_token(request)
- [Answer]-Twilio_view decorator in twilio-django always giving 403
- [Answer]-Redundant django code
- [Answer]-When I try to connect two tables django raises an error "type object 'StudyRecord' has no attribute 'object'"
- [Answer]-Django ORM most occuring value
Source:stackexchange.com