reorganize settings so it's not necessary to set DJANGO_SETTINGS_MODULE in production