DjangoでPOSTするときは、viewにきちんとcsrfの処理書かないとHTTPの403のエラーコードを返すっぽい。
URL: http://docs.djangoproject.jp/en/latest/ref/contrib/csrf.html
from django.views.decorators.csrf import csrf_protect from django.shortcuts import render @csrf_protect def my_view(request): c = {} # ... return render(request, "a_template.html", c)
from django.views.decorators.csrf import csrf_protectをインポートして、
メソッドの前にcsrf_protectとか。