Issue deploying Django webapp in OVH Hosting

I'm trying to deploy a Django App in OVH Hosting and, after some hard exploration and try-error, I keep getting an issue.

File "/usr/share/passenger/helper-scripts/", line 381, in <module>
handler = RequestHandler(server_socket, sys.stdin, app_module.application)
AttributeError: module 'passenger_wsgi' has no attribute 'application'

OVH/Passenger proccess feedback

Apart from all the files created at startapp by Django and all the code I wrote I added the following file '' on the root of the app directory. I used two differents versions:


import MyApp.wsgi
application = MyApp.wsgi.application


from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()

In the runtime configuration of OVH hosting the application launch script set is ''. SECRET_KEY and DJANGO_SETTINGS_MODULE are declared in the environment variables.

Back to Top