From e904c75d61e38d27ed1f59d87c400d68e979d9e5 Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Sat, 26 Jan 2013 15:44:00 +0100 Subject: [PATCH] Minor cosmetic change on the error message shown if a bucket doesn't exist and isn't automatically created. --- storages/backends/gs.py | 3 ++- storages/backends/s3boto.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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): """