Traceback from csrf_exempt in 1.3.1

2012-03-02 Thread Ethan Whitt
I have never used csrf_exempt before. I keep experiencing a traceback with 1.3.1, which may be self-induced. Here is my views file: auth/views.py from django.http import HttpResponse from django.utils import simplejson from django.views.decorators.csrf import csrf_exempt @csrf_exempt def json_ap

Re: Traceback from csrf_exempt in 1.3.1

2012-03-02 Thread Ethan Whitt
I get a 403 error when I comment out csrf_example as such: auth/views.py from django.http import HttpResponse from django.utils import simplejson #from django.views.decorators.csrf import csrf_exempt #@csrf_exempt def json_api(request): return HttpResponse(simplejson.dumps(request), mimetype="a