Tweaking TextTemplateView to use the new content_type field instead of the non-working mimetype.