Edit file File name : wsgi.py Content :import os import sys # Add the project directory to the sys.path sys.path.append('/home/swizelhq/convertmybetcode.com') # Add the virtual environment's site-packages directory to the sys.path sys.path.append('/home/swizelhq/convertmybetcode.com/.venv/lib/python3.11.5/site-packages') # Set the Django settings module os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'convertbetcode.settings') # Activate the virtual environment activate_this = '/home/swizelhq/convertmybetcode.com/.venv/bin/python' os.execl(activate_this, 'python', '-c', 'import sys; from django.core.wsgi import get_wsgi_application; application = get_wsgi_application()') # Import Django's WSGI application from django.core.wsgi import get_wsgi_application application = get_wsgi_application() Save