import os
import sys

# Add the project directory to the sys.path
# Change 'portfolio' to your project folder name if different
project_root = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, project_root)

# Set the Django settings module
os.environ['DJANGO_SETTINGS_MODULE'] = 'portfolio.settings'

# Import the Django WSGI application
from portfolio.wsgi import application

# If the server expects 'application' to be named 'app'
# application = application
