Skip to content

Commit 28876c2

Browse files
zwarediegorusso
authored andcommitted
Add an attempted wsgi module...
1 parent 610c76c commit 28876c2

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

speed_python/wsgi.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# This is used for staging & production
2+
import os
3+
import sys
4+
5+
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "speed_python.settings")
6+
7+
from django.core.wsgi import get_wsgi_application
8+
application = get_wsgi_application()

0 commit comments

Comments
 (0)