Please provide me valid wsgy.py contents for Gunicorn

asked 2016-07-28 07:02:58 -0600

gopalraha gravatar image

Dear Askbot Team,

Please provide me valid wsgy.py file contents for Askbot that is working properly with the Gunicorn.

Eg. like this sample file contents wsgy.py for django

import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "django_project.settings")

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

Thanks..

edit retag flag offensive close merge delete

Comments

I haven't used gunicorn and can't answer, however - please note that the method is not specific to Askbot, it should help you to search "how to configure gunicorn with django".

Evgeny gravatar imageEvgeny ( 2016-07-28 09:59:59 -0600 )edit

OK! I agree with this. Please tell me other procedures to do that.

gopalraha gravatar imagegopalraha ( 2016-07-28 10:45:51 -0600 )edit