changes mimetype to content_type to subjects/views.py to avoid deprecation warning