Why am I getting a 403 error “CSRF token missing” with Django?

You can disable the CSRF token requirement by putting @csrf_exempt before your view:

First import the decorator at the top of your views.py:

from django.views.decorators.csrf import csrf_exempt

Then decorate your view like:

@csrf_exempt
def home(request): 

Warning: This will make your view vulnerable to cross site request forgery attacks. See https://docs.djangoproject.com/en/dev/ref/csrf/ for details.