diff --git a/storages/backends/gs.py b/storages/backends/gs.py index cbda3bc..fa86e11 100644 --- a/storages/backends/gs.py +++ b/storages/backends/gs.py @@ -94,4 +94,5 @@ def _get_or_create_bucket(self, name): return bucket raise ImproperlyConfigured("Bucket %s does not exist. Buckets " "can be automatically created by " - "setting appropriate setting." % name) + "setting GS_AUTO_CREATE_BUCKET to " + "``True``." % name) diff --git a/storages/backends/s3boto.py b/storages/backends/s3boto.py index dc5f6e9..4da01e7 100644 --- a/storages/backends/s3boto.py +++ b/storages/backends/s3boto.py @@ -306,7 +306,8 @@ def _get_or_create_bucket(self, name): return bucket raise ImproperlyConfigured("Bucket %s does not exist. Buckets " "can be automatically created by " - "setting appropriate setting." % name) + "setting AWS_AUTO_CREATE_BUCKET to " + "``True``." % name) def _clean_name(self, name): """