fixed incompatibility for django 1.4

render_to_response in django 1.3 and 1.4 accepts only mimetype arg
Merge pull request #15 from suvit/master

fixed incompatibility for django 1.4