skorokithakis/django-annoying — pull request #13 by JshWright (2013-10-27 15:40:48+00:00)
Title: Fix deprecated mimetype argument

content_type was added in 1.3, and mimetype is deprecated.

This should work on any version of Django that supports the content_type argument to render() (1.3+).

Existing code that uses the mimetype kwarg explicitly will continue to work. Likewise, positional use is unchanged, and new code can use the 'new' content_type argument.