gem version

Sample passenger_wsgi.py for Django

For Django applications, passenger_wsgi.py should look like this:

import myproject.wsgi
application = myproject.wsgi.application

Replace myproject with your project’s module name.

light mode dark mode
Passenger 6 Passenger 6

Was this article helpful?

Yes No

Thanks for your feedback!