from django.core.handlers.wsgi import WSGIHandler


application = WSGIHandler()

from django.core.wsgi import get_wsgi_application


application = get_wsgi_application()

Update wsgi.py to use get_wsgi_application()