Changed mimetype for content_type for Django 1.7+ support