Skip to content

Documentation Improvement: Using s3file in development #110

@cvipul

Description

@cvipul

I am bit confused while reading the documentation about testing s3file in development.

On one hand it says

"The ClearableFileInput widget is only than automatically replaced when the DEFAULT_FILE_STORAGE setting is set to django-storages’ S3Boto3Storage"

and on the other it says

"S3File comes with a AWS S3 dummy backend. It behaves similar to the real S3 storage backend. It is automatically enabled, if the DEFAULT_FILE_STORAGE setting is set to FileSystemStorage."

So, if I want to use the dummy S3 backend, I cannot utilise the S3FileInputMixin.

If the documentation has steps to manually add S3FileInputMixin in development, that will be helpful.
Or will have to change the code in apps.py to look for some other variable in settings to determine if we are in development mode.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions