import os from django.core.wsgi import get_wsgi_application # Replace 'core.settings' with the actual path to your settings file # if your configuration folder is named differently. os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'core.settings') application = get_wsgi_application()