Skip to content

New STORAGES support #307

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

Closed
PetrDlouhy opened this issue Sep 26, 2024 · 3 comments
Closed

New STORAGES support #307

PetrDlouhy opened this issue Sep 26, 2024 · 3 comments
Assignees
Labels

Comments

@PetrDlouhy
Copy link

Django 4.2 introduced new STORAGES settings and handling storages, with Djagno 5.1 it is the only option.

According to documentation django-s3file doesn't seem to support this.
Are there any plans adding support for Django 4.2 STORAGES?

@codingjoe
Copy link
Owner

Hi @PetrDlouhy,

Thank you for reaching out. This package works with Django 5.1, I am using it in a production environment.

What part of the documentation is misleading to you? I'd be happy to fix it :)

Cheers!
Joe

@PetrDlouhy
Copy link
Author

Hi @codingjoe, thanks for quick answer.

There si written:

The ClearableFileInput widget is only than automatically replaced when the DEFAULT_FILE_STORAGE setting is set to django-storages' S3Boto3Storage or the dummy FileSystemStorage is enabled.

But the DEFAULT_FILE_STORAGE settings is deprecated after setting up STORAGES and if I set it up, Django<5.1 will throw error, that these two variables are mutually exclusive.

@codingjoe codingjoe added the bug label Oct 8, 2024
@codingjoe codingjoe self-assigned this Oct 8, 2024
@PetrDlouhy
Copy link
Author

@codingjoe Many thanks.

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