mimetype -> content_type in Django 1.7