Updating wsgi file for deployment
This commit is contained in:
parent
5368a6ceac
commit
096e31d713
2 changed files with 25 additions and 50 deletions
|
|
@ -2,6 +2,6 @@ import os
|
|||
import sys
|
||||
# put the Django project on sys.path
|
||||
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "../")))
|
||||
os.environ["DJANGO_SETTINGS_MODULE"] = "three_d_viewer.settings"
|
||||
os.environ["DJANGO_SETTINGS_MODULE"] = "rockviewer.settings"
|
||||
from django.core.handlers.wsgi import WSGIHandler
|
||||
application = WSGIHandler()
|
||||
Loading…
Add table
Add a link
Reference in a new issue