We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DefaultStorage derives from LazyObject, and so does not test true as an instance of Storage
>>> from django.core.files.storage import default_storage, Storage >>> isinstance( default_storage, Storage ) False >>> default_storage <django.core.files.storage.DefaultStorage object at 0x2ac735da22d0>
The text was updated successfully, but these errors were encountered:
A quick workaround is to change line 45 of files.py from: source = default_storage to: source = get_storage_class()()
Tested and workig [though possibly not ideal.]
Sorry, something went wrong.
Fixed in f6890af
No branches or pull requests
DefaultStorage derives from LazyObject, and so does not test true as an instance of Storage
The text was updated successfully, but these errors were encountered: