Removed deprecated in django 1.7 HttpResponse attribute mimetype.