Django 1.7 suport
Fixed mimetype param in httpresponse
Fixed support to Django 1.7 without breaking older ones
Fixed the if with equal codes
Merge pull request #139 from julioeiras/master

Django 1.7 suport