Getting [Errno 32] Broken pipe with S3

Issue #200 new
Will Emmerson created an issue

I am having trouble using django-storages with s3. Everything works using boto (creating and reading back files).

I have the following keys in

DEFAULT_FILE_STORAGE = 'storages.backends.s3boto.S3BotoStorage'

I have the following model:

class Document(models.Model):
    title = models.CharField(max_length=100)
    document = models.FileField(upload_to='documents')

I'm not sure what I should be using for upload_to, if anything. I've also tried '/'.

I added 'storages' to INSTALLED_APPS, although I'm not sure if this is even necessary.

I have tried various things such as setting AWS_QUERYSTRING_AUTH = False and AWS_S3_SECURE_URLS = False but nothing works.

Comments (1)

  1. Log in to comment