Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PULP-210] Update deprecated django storage config #6058

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

pedro-psb
Copy link
Member

@pedro-psb pedro-psb commented Nov 20, 2024

Fixes #5404

@pedro-psb pedro-psb force-pushed the update-deprecated-django-storage-config branch 4 times, most recently from ba1fb1a to fb6f05d Compare November 21, 2024 21:19
@pedro-psb pedro-psb changed the title Update deprecated django storage config [PULP-210] Update deprecated django storage config Nov 28, 2024
@pedro-psb pedro-psb force-pushed the update-deprecated-django-storage-config branch 5 times, most recently from cf07383 to 5b49e92 Compare December 11, 2024 18:17
Django deprecated the use of DEFAULT_FILE_STORAGES in v4.2 and
removed it in v5.0.

It provides a compat layer in 4.2, so even if the user set this value
using the legacy key, the value will be available in django.conf.settings
as settings.STORAGES['default']['backend'].

This commit updates the codebase to use the new value.
@pedro-psb pedro-psb force-pushed the update-deprecated-django-storage-config branch 2 times, most recently from d74ce4e to 6dab089 Compare December 12, 2024 19:24
@pedro-psb pedro-psb force-pushed the update-deprecated-django-storage-config branch from 6dab089 to 45830b0 Compare December 12, 2024 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Django DEFAULT_FILE_STORAGE deprecated
1 participant