Changed mimetype to content_type

class JsonResponse. Passing mimtype to HttpResponse id deprecated and removed in Django 1.7.