Compatibility with Django1.7
Merge pull request #13 from magopian/compatibility-django1.7

Compatibility with Django1.7