2014-05-05から1日間の記事一覧
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 i…
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 i…