Skip to content

[DEPR]: DEFAULT_FILE_STORAGE and STATICFILES_STORAGES #4668

@awais786

Description

@awais786

RFC Start Date
N/A -- Already Accepted

Target Plan Accepted Date
N/A -- Already Accepted

Target Transition Unblocked Date

Ulmo Cutoff (Oct 23)

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

Description
These Django settings:

  1. DEFAULT_FILE_STORAGE
  2. STATICFILES_STORAGE

have been replaced with with:

  • STORAGES

See the openedx/edx-platform#37002 for more details. For discovery PR is still open.

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.

Migration

No response

Additional Info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    deprProposal for deprecation & removal per OEP-21

    Type

    No type

    Projects

    Status

    Transition Unblocked

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions