Compliant with Django1.8 deprecation warnings

It is a minor change to be compliant with upcoming Django 1.8 (deprecation warning).

Here is the coveralls report for the patch: https://coveralls.io/jobs/3144057

Thanks