1👍
The error has nothing to do with any of your code. The console is showing you have a 403 response, which is a Forbidden code; this is because Django protects POST requests from cross-site scripting attacks.
See the CSRF documentation for what to do.
Source:stackexchange.com