You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-when i was using Django 4.0.6 i was able to use the compressed manifest static storage and collect static was fine but when i moved to Django 4.1 i ran collect static i started getting errors when using compress manifest
i think is because files are not compressed and no unique name for each version
WhiteNoise comes with a storage backend which automatically takes care of compressing your files and creating unique names for each version so they can safely be cached forever. To use it, you have to add it at the bottom of your settings, it should be the last line in settings.py STATICFILES_STORAGE = "whitenoise.storage.CompressedStaticFilesStorage"
this solves the problem.