mimetype -> content_type

Accoding to Django documentation, `mimetype` is long deprecated and should have been replaced by `content_type` long ago.