Changes to wsgi/application and settings.py for Django 1.7