Opened 8 years ago

Closed 8 years ago

#17130 closed Uncategorized (fixed)

Wrong path for get_wsgi_application() in docs

Reported by: Jim Dalton Owned by: nobody
Component: Documentation Version: master
Severity: Normal Keywords: wsgi
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no


Here's the example file from

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.

Change History (1)

comment:1 Changed 8 years ago by Carl Meyer

Resolution: fixed
Status: newclosed

In [17047]:

Fixed #17130 -- Corrected import path of get_wsgi_application in deployment docs. Thanks jsdalton for the report.

Note: See TracTickets for help on using tickets.
Back to Top