Django 1.7 realease JsonResponse subclass of HttpResponse helps easily create JSON-encoded responses.
As discussed in https://code.djangoproject.com/ticket/17942#comment:6 - Trying to support JSONP callbacks would require to somehow allow Cross-origin resource sharing. I would say it's not needed for most use cases. JsonpResponse isn't needed for most use cases. But is needed for some use cases. What do you think about adding JsonpResponse subclass of HttpResponse. The pr is https://github.com/django/django/pull/6455 -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this group, send email to django-developers@googlegroups.com. Visit this group at https://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/00730c97-df1c-4dc9-9594-506f01988240%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.