import os
import sys

from django.core.wsgi import get_wsgi_application

# Set the Django settings module
os.environ['DJANGO_SETTINGS_MODULE'] = 'po_service.settings'

# Add the project root directory to the PYTHONPATH
sys.path.append(r"C:\Apache24\htdocs\OrderPro_ERP\pvs_gent_crm\purchase_order_service")

# Add the virtual environment's site-packages directory to sys.path
venv_path = r"C:\Users\Dell\PycharmProjects\pvs_gent_crm\purchase_order_service\venv_po\Lib\site-packages"
sys.path.append(venv_path)

# Get the WSGI application
application = get_wsgi_application()

