fix tests for django 1.5
Merge pull request #5 from sir-sigurd/master

fix tests for django 1.5