use content_type parameter instead of deprecated mimetype
Merge pull request #26 from PetrDlouhy/django16

use content_type parameter instead of deprecated mimetype