def all_buckets(self):
    self.data['Action'] = 'ListAllMyBuckets'
    self._authenticate_and_authorize_s3_action()
    all_buckets = self.backend.list_buckets()
    template = self.response_template(S3_ALL_BUCKETS)
    return template.render(buckets=all_buckets)
def all_buckets(self):
    self.data['Action'] = 'ListAllMyBuckets'
    self._authenticate_and_authorize_s3_action()
    all_buckets = self.backend.list_buckets()
    template = self.response_template(S3_ALL_BUCKETS)
    return template.render(buckets=all_buckets)