[Django 1.7] Replace mimetype by content_type