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 (Python 3.4.2/Django 1.7) report for the patch: https://coveralls.io/jobs/3144057

Thanks