Because the DJANGO_SETTINGS_MODULE needs to be set by the apps wsgi handler, that app should import application from here, and app.yaml should point at the app's wsgi handler