I\'m trying to convert a server side Ajax response script into a Django HttpResponse, but apparently it\'s not working.
This is the server-side script:
New in django 1.7
you could use JsonResponse objects.
from the docs:
from django.http import JsonResponse return JsonResponse({'foo':'bar'})