Skip to content

S3BotoStorage import error on rendervarations #70

@dporru

Description

@dporru

Running the rendervariations command with S3BotoStorage as storage backend gives the following error:

ImportError: Module "django.core.files.storage" does not define a "S3BotoStorage" attribute/class

I'm on django 1.9.2 with django-storages-redux 1.4, python 1.3.5 and the current master of django-stdimage.

On inspection it seems the field.storage object in the render function in stdimage/management/commands/rendervariations.py prints as <storages.backends.s3boto.S3BotoStorage object at 0x102f69550>, but the __module__ is django.core.files.storage.

The class_to_path function returns 'django.core.files.storage.S3BotoStorage' when the actual class is located at 'storages.backends.s3boto.S3BotoStorage'.

Any idea what is going wrong here?

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions