/usr/share/openstack-dashboard/openstack dashboard/wsgi/django.wsgi

1 개요[ | ]

/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi
/usr/local/horizon/openstack dashboard/wsgi/django.wsgi
import logging
import os
import sys
from django.core.wsgi import get_wsgi_application
from django.conf import settings

# 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.environ['DJANGO_SETTINGS_MODULE'] = 'openstack_dashboard.settings'
sys.stdout = sys.stderr

DEBUG = False

application = get_wsgi_application()

2 같이 보기[ | ]

3 참고[ | ]