django installer whitenoise

$ pip install whitenoise

#In the settings.py:
MIDDLEWARE = [
    # ...
    "django.middleware.security.SecurityMiddleware",
    "whitenoise.middleware.WhiteNoiseMiddleware",
    # ...
]
MitchAloha