Django's HttpResponse object has deprecated the mimetype kwarg in 1.7, now content_type