blob: 6f2ca316dbd1a9f8b2fac5f9ffe6b3eedc108c1c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
from config.wsgi import application
# App Engine by default looks for a main.py file at the root of the app
# directory with a WSGI-compatible object called app.
# This file imports the WSGI-compatible object of your Django app,
# application from mysite/wsgi.py and renames it app so it is discoverable by
# App Engine without additional configuration.
# Alternatively, you can add a custom entrypoint field in your app.yaml:
# entrypoint: gunicorn -b :$PORT mysite.wsgi
app = application
|