Address Django 1.8 deprecation warnings