Closed meneses-pt closed 3 years ago
I upgraded to 3.2 It happened while running collectstatic and also on test
Test on:
Django==3.2
Settings.py:
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage'
STATIC_URL = '/static/'
STATIC_ROOT = 'static'
Command:
python manage.py collectstatic --noinput --clear
Output:
...
Deleting 'admin/fonts/README.txt'
Deleting 'admin/fonts/LICENSE.txt'
Deleting 'rangefilter/iife.efe3a000e45e.js'
Deleting 'rangefilter/iife.js'
129 static files copied to '/../../app/static', 143 post-processed.
Maybe anything else?
You can see it here:
https://travis-ci.com/github/meneses-pt/goals.zone/jobs/497509456
The source code is here: https://github.com/meneses-pt/goals.zone
I know it is not your job, but if you could help me out I'd appreciate.
collectstatic
before test, and:
Due to the requirement of running collectstatic, this storage typically shouldn’t be used when running tests as collectstatic
isn’t run as part of the normal test setup. During testing, ensure that the STATICFILES_STORAGE setting is set to something
else like 'django.contrib.staticfiles.storage.StaticFilesStorage' (the default).
Thx
Thanks. With your help this is now solved 👍
After upgrading to 0.8.0 I'm getting this error. I use
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage'
Can you help me figuring this out?Full error: