replaced deprecated mimetype argument with content_type.

see: https://code.djangoproject.com/ticket/16519
compare also: https://docs.djangoproject.com/en/dev/internals/deprecation/