openedx / openedx/openedx-platform

Remove resolve_storage_backend method legacy compatibility after Django 5.2 upgrade

Open
#37,273 2 comments 1 reaction 1 assignee View on GitHub

@awais786 is already working on this.

Since Oct 16, 2025.

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

Description

The function resolve_storage_backend was introduced to provide compatibility between legacy Django storage settings and the newer STORAGES setting introduced in Django 4.2.

Specifically, it ensures projects can continue to use legacy settings such as BLOCK_STRUCTURES_SETTINGS["STORAGE_CLASS"] while also supporting the new STORAGES-based configuration required by Django ≥ 4.2 and Django 5.

Once we officially drop support for Django < 5, this compatibility will no longer be necessary, and the function can be simplified or removed.

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.