Issue
We are in process to upgrade to django 4.2. However we are facing above issue in running django peroject. We have already setup new way of STORAGES in settings.py i.e.
STORAGES = {
"staticfiles": {"BACKEND": "custom.core.storage.GzipManifestStaticfilesStorage"},
"default": {"BACKEND": "django.core.files.storage.FileSystemStorage"},
}
But its not working and getting said error in running project. But, when we manually go and remove DEFAULT_FILE_STORAGE
from
django\conf\global_settings.py file then at least it doesn't give above issue.
Any suggestion(s) how to fix it, thanks!
Solution
Finally it's fixed. I had a silly mistake that i was still using django-configurations
version 2.3.1 but once I moved to django-configurations
version 2.5. Then issue is gone.
Answered By - sAm
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.