Opened 13 years ago
Closed 13 years ago
#17130 closed Uncategorized (fixed)
Wrong path for get_wsgi_application() in docs
Description ¶
Here's the example file wsgi.py from https://docs.djangoproject.com/en/dev/howto/deployment/wsgi/:
import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mysite.settings") # This application object is used by the development server # as well as any WSGI server configured to use this file. from django.core.handlers.wsgi import get_wsgi_application application = get_wsgi_application()
However, get_wsgi_application() lives in django.core.wsgi, not django.core.handlers.wsgi.
Note:
See TracTickets
for help on using tickets.
In [17047]: