#34273: settings.DEFAULT_FILE_STORAGE is not the same as
settings.STORAGES["default"]
-------------------------------------+-------------------------------------
Reporter: אורי | Owner: nobody
Type: Uncategorized | Status: closed
Component: File | Version: 4.2
uploads/storage |
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):
* status: new => closed
* resolution: => invalid
* component: Uncategorized => File uploads/storage
Comment:
> I tried to change the line in sorl-thumbnail to `THUMBNAIL_STORAGE =
settings.STORAGES["default"]`, and then many tests fail ...
`STORAGES["default"]` is a dictionary not a class name so you should use
`THUMBNAIL_STORAGE = settings.STORAGES["default"]["BACKEND"]` instead, see
[https://docs.djangoproject.com/en/4.2/ref/settings/#storages docs].
--
Ticket URL: <https://code.djangoproject.com/ticket/34273#comment:1>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/01070185c87902f1-042e7847-7155-4c4d-afb2-a335cbeda517-000000%40eu-central-1.amazonses.com.