Django 1.8 deprecation messages fix