mirror of
https://github.com/quantum5/qlinks.git
synced 2025-04-24 10:41:57 -04:00
Add gevent support
This commit is contained in:
parent
cfbfa4fc94
commit
63b50f6706
10
qlinks/project/wsgi_async.py
Normal file
10
qlinks/project/wsgi_async.py
Normal file
|
@ -0,0 +1,10 @@
|
|||
import os
|
||||
|
||||
import gevent.monkey
|
||||
|
||||
gevent.monkey.patch_all()
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'qlinks.settings.local')
|
||||
|
||||
from django.core.wsgi import get_wsgi_application # noqa
|
||||
|
||||
application = get_wsgi_application()
|
Loading…
Reference in a new issue