Fixed path after moving wsgi/django.wsgi to wsgi.py

Change-Id: Ia6b1c99c277c4cd5b19deae5212c7806b4b06a23
Closes-Bug: 1791043
This commit is contained in:
Rafal Ramocki 2018-09-06 12:02:31 +02:00
parent a0e90eee83
commit 71be92dd42
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ from django.core.wsgi import get_wsgi_application
# Add this file path to sys.path in order to import settings
sys.path.insert(0, os.path.normpath(os.path.join(
os.path.dirname(os.path.realpath(__file__)), '../..')))
os.path.dirname(os.path.realpath(__file__)), '..')))
os.environ['DJANGO_SETTINGS_MODULE'] = 'openstack_dashboard.settings'
sys.stdout = sys.stderr