old_contents: import os
  
  from django.core.handlers.wsgi import WSGIHandler
  
  
  application = WSGIHandler()
  
new_contents: 
  from django.core.wsgi import get_wsgi_application
  application = get_wsgi_application()
  
subject: Use up to date Django wsgi file.