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

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
gopalraha's avatar
332
gopalraha
asked 8 years ago

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 (8 years ago)

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

gopalraha's avatar gopalraha (8 years ago)
see more comments