import sys
import os

# Add the project base directory to the Python path
sys.path.insert(0, os.path.dirname(__file__))

# If your Django project folder is named 'protfolio'
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'protfolio-main'))

# Set the Django settings module
os.environ['DJANGO_SETTINGS_MODULE'] = 'portfolio.settings'

from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()
