openfun / richie

:pencil: An opensource CMS to build education portals
https://richie.education
MIT License
256 stars 80 forks source link

🐛(back) fully define STORAGES settings #2399

Closed lunika closed 1 month ago

lunika commented 1 month ago

Purpose

In order to use django 4.2 we have to fully define the settings STORAGES. We can't simply override the default or the static key. By fully defining it, the deprecated settings DEFAULT_FILE_STORAGE and STATICFILES_STORAGE are defined by django once setup by using the one defined in STORAGES. And the django filer correctly use them.

Proposal

lunika commented 1 month ago

@jbpenrath @jonathanreveille I fully revamp this PR.