#In the wsgi.py file use from whitenoise import WhiteNoise application = WhiteNoise(get_wsgi_application())