Skip to content

Commit 9e28070

Browse files
committed
Fixes to wsgi.py (maybe I should actually have our project name in there and not the example... hur dur!)
1 parent c8dba40 commit 9e28070

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pythonkc_site/deploy/wsgi.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
import os, sys
22

3+
sys.path.insert(0, os.path.abspath(os.path.join(os.path.abspath(os.path.dirname(__file__)), os.pardir, os.pardir)))
4+
sys.path.insert(0, os.path.abspath(os.path.join(os.path.abspath(os.path.dirname(__file__)), os.pardir)))
5+
36
from django.core.handlers.wsgi import WSGIHandler
4-
os.environ["DJANGO_SETTINGS_MODULE"] = "myproject.settings"
7+
os.environ["DJANGO_SETTINGS_MODULE"] = "pythonkc_site.settings"
58
application = WSGIHandler()

0 commit comments

Comments
 (0)