fix django 1.6 support
Merge pull request #1 from edgabaldi/master

fix django 1.6 support