jojax/django-js-error-hook — pull request #6 by ybbarng (2014-10-20 07:09:30+00:00)
Title: Django 1.5 Support

https://docs.djangoproject.com/en/1.5/topics/http/shortcuts/
The document says that:
content_type
Changed in Django 1.5: This parameter used to be called mimetype.

To support that check the django version and select correct parameter name.