Jannis Leidel avatar Jannis Leidel committed 6408c5d

Minor cosmetic change on the error message shown if a bucket doesn't exist and isn't automatically created.

Comments (0)

Files changed (2)

storages/backends/gs.py

                 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)

storages/backends/s3boto.py

                 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):
         """
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.