Stopped setting DJANGO_SETTINGS_MODULE in wsgi.py, because it's being done in the server config. This also prevents using the production settings accidentally.