-
Notifications
You must be signed in to change notification settings - Fork 278
Closed
Description
A storage object, or a callable which returns a storage object. This handles the storage and retrieval of your files. See Managing files for details on how to provide this object.
But imagekit only accepts a storage object. It should supports a callable which returns a storage object for feature parity with django.
So rather than doing cachefile_storage=S3Boto3Storage(), one can just do cachefile_storage=S3Boto3Storage.
django-imagekit/imagekit/cachefiles/__init__.py
Lines 43 to 45 in f6ed35f
| storage = storage or getattr(generator, 'cachefile_storage', | |
| None) or get_singleton(settings.IMAGEKIT_DEFAULT_FILE_STORAGE, | |
| 'file storage backend') |
Metadata
Metadata
Assignees
Labels
No labels