Update views.py

Mimetype changed to content_type in django 1.7, fix in rosett views.