Adding django 1.7 compatibility
Merge pull request #7 from magmax/master

Adding django 1.7 compatibility in tests