#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
-------------------------------------+-------------------------------------
Comment (by Mariusz Felisiak):
Replying to [comment:2 אורי]:
> It is written on https://docs.djangoproject.com/en/dev/releases/4.2/ :
> The `DEFAULT_FILE_STORAGE` setting is deprecated in favor of
`STORAGES["default"]`.
> You should write there how to convert from
`settings.DEFAULT_FILE_STORAGE` to
`settings.STORAGES["default"]["BACKEND"]`
It's deprecated in favor of `STORAGES["default"]` as it's more flexible
and gives more options. I don't see anything incorrect in this sentence.
It's not written as ''"... use `STORAGES["default"]` instead"''.
--
Ticket URL: <https://code.djangoproject.com/ticket/34273#comment:3>
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/01070185c8a13a71-b918fff1-1fcb-43ab-8df4-3e6ae54976ed-000000%40eu-central-1.amazonses.com.