Django Installieren Sie Whitenoise

$ pip install whitenoise

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