HttpResponse.mimetype becomes HttpResponse.content_type. Django 1.7 is required.