import os
import sys
from urllib.parse import unquote

# Add the project directory to the sys.path
project_path = os.path.dirname(os.path.abspath(__file__))
if project_path not in sys.path:
    sys.path.insert(0, project_path)

# Set the Django settings module
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'picker_project.settings')

# Application entry point for Passenger
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()
