Please provide me valid wsgy.py contents for Gunicorn

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..

gopalraha's avatar
332
gopalraha
asked 2016-07-28 07:02:58 -0500
edit flag offensive 0 remove flag 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's avatar Evgeny (2016-07-28 09:59:59 -0500) edit

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

gopalraha's avatar gopalraha (2016-07-28 10:45:51 -0500) edit
add a comment see more comments