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

Calculate settings for S3Boto3StorageFile when instantiated, not imported #930

Merged
merged 1 commit into from
Nov 16, 2020

Commits on Sep 8, 2020

  1. Calculate settings for S3Boto3StorageFile when instantiated, not impo…

    …rted
    
    This allows the "storages.backends.s3boto3" module to be cleanly imported
    before Django settings are configured. This further supports the changes
    from jschneier#524.
    
    Removing "S3Boto3StorageFile.buffer_size" as a class variable does not
    affect the API surface of "S3Boto3StorageFile", as "buffer_size" was
    always accessible as an instance variable.
    brianhelba committed Sep 8, 2020
    Configuration menu
    Copy the full SHA
    b4c0e10 View commit details
    Browse the repository at this point in the history