#25862: AttributeError: 'FileSystemStorage' object has no attribute 'location'
------------------------------+--------------------------------------
Reporter: codingjoe | Owner: nobody
Type: Bug | Status: closed
Component: Core (Other) | Version: master
Severity: Normal | Resolution: worksforme
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+--------------------------------------
Comment (by codingjoe):
Let me try to convince you then. I just [changed](https://travis-
ci.org/codingjoe/django-stdimage/jobs/94828152) it to the
[documented](https://docs.djangoproject.com/en/1.8/topics/files/#storage-
objects) `default_storage` helper, which is nothing other than
`DefaultStorage()`.
I also just added a little test, that tests only storage.location. That
works, that doesn't mean there isn't a problem tho.
See the tests don't even execute the case with a default storage.
It uses the `FieldFile`'s storage.
Besides all that, I don't do any wizardry with the storages, nor in the
settings. It must strike you, that there is a different behavior on python
2.7 and 3.*
--
Ticket URL: <https://code.djangoproject.com/ticket/25862#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.85c0bb94f662c0289ec6bcab4ec7bc30%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.