change create_bucket to get, try and avoid these 409s"
This commit is contained in:
parent
2fca8a23ac
commit
b60ee969ca
@ -14,7 +14,7 @@ class S3Storage(object):
|
||||
@property
|
||||
def bucket(self):
|
||||
if not self._bucket:
|
||||
self._bucket = self.s3conn.create_bucket(settings.AWS_BUCKET)
|
||||
self._bucket = self.s3conn.get_bucket(settings.AWS_BUCKET)
|
||||
return self._bucket
|
||||
|
||||
def _get_opt(self, doc_class, setting, default=None):
|
||||
|
Loading…
Reference in New Issue
Block a user