openedx / openedx/openedx-platform

[DEPR]: DEFAULT_FILE_STORAGE and STATICFILES_STORAGES

Open
#37,333 6 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

depr
Dominant language
Python
Stars
8.2k
Forks
4.4k
Avg merge
6d 18h
Merged PRs (30d)
42

Description

RFC Start Date

N/A -- Already Accepted

Target Plan Accepted Date

N/A -- Already Accepted

Target Transition Unblocked Date

Immediately -- Transition Already Unblocked

Earliest Breaking Changes Unblocked Date

Python settings: 2025-09-08 (already past)
YAML settings: 2025-10-24 (after Ulmo cut)

Rationale

This is a mandatory part of the django 4.2->5.2 upgrade.

We recently landed this settings change on edx-platform master and operators running on master will need to edit their config accordingly.

Description

These Django settings:

  • DEFAULT_FILE_STORAGE
  • STATICFILES_STORAGE

have been replaced with with:

  • STORAGES

See the django-storages upgrade docs for more details.

For operators using a custom DJANGO_SETTINGS_MODULE

Update your config now. The old settings no longer work.

For operators using a YAML File

We have included a temp backwards compatibility shim so that the old settings are still respected when specified via YAML.

This shim will be removed right after the Ulmo cut (as early as Oct 9) so please update your config in the next month.

Task List

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.