"""
WSGI config for openCMMS project.

It exposes the WSGI callable as a module-level variable named ``application``.

For more information on this file, see
https://docs.djangoproject.com/en/3.0/howto/deployment/wsgi/
"""

import os

from django.core.wsgi import get_wsgi_application

CONF_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)))
if 'pic_settings.py' not in os.listdir(CONF_DIR):
    os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'openCMMS.base_settings')
else :
    os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'openCMMS.pic_settings')

# os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'openCMMS.settings')

application = get_wsgi_application()

"""
WSGI config for openCMMS project.

It exposes the WSGI callable as a module-level variable named ``application``.

For more information on this file, see
https://docs.djangoproject.com/en/3.0/howto/deployment/wsgi/
"""

import os

from django.core.wsgi import get_wsgi_application

CONF_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)))
if 'pic_settings.py' not in os.listdir(CONF_DIR):
    os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'openCMMS.base_settings')
else :
    os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'openCMMS.pic_settings')

# os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'openCMMS.settings')

application = get_wsgi_application()

WSGI config for openCMMS project.  It exposes the WSGI callable as a module-level variable named ``application``.  For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/wsgi/ # os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'openCMMS.settings')