django-ajax-validation icon indicating copy to clipboard operation
django-ajax-validation copied to clipboard

Change HttpResponse to JsonResponse (for Django 1.9)

Open applecat opened this issue 9 years ago • 0 comments

Since Django 1.7 we can use JsonResponse instead of HttpResponse for json responses. And in Django 1.9 HttpResponse doesn't accept mimetype argument.

applecat avatar Mar 01 '16 19:03 applecat