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

[bug] DEFAULT_FILE_STORAGE environment var not always respected #1097

Open
dkliban opened this issue May 14, 2024 · 0 comments
Open

[bug] DEFAULT_FILE_STORAGE environment var not always respected #1097

dkliban opened this issue May 14, 2024 · 0 comments
Assignees
Labels

Comments

@dkliban
Copy link

dkliban commented May 14, 2024

Idiscovered a new bug in Pulp that i believe might be a dynaconf issue. The issue revolves around DEFAULT_FILE_STORAGE setting. In our codebase we have the following import from django.core.files.storage import default_storage . When DEFAULT_FILE_STORAGE is set in settings.py, default_storage reports it correctly. If we set PULP_DEFAULT_FILE_STORAGE as an environment variable, the default_storage does not reflect the value of the env var. At the same time dynaconf list reports the correct value set in the env var.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants