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.
We've redesigned, updated, rerouted and regrouped the library for better discoverability and a better flow. You can visit the new documentation here.
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.