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

This commit is contained in:
Zuul 2018-09-19 22:59:27 +00:00 committed by Gerrit Code Review
commit 4046734529
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