summaryrefslogtreecommitdiff
path: root/docs/source
diff options
context:
space:
mode:
authorQuentin de Metz <quentindemetz@gmail.com>2014-12-28 18:26:13 +0100
committerQuentin de Metz <quentindemetz@gmail.com>2014-12-28 18:26:13 +0100
commit716fd56f0265c6d8c437488b0abd2448a366c9aa (patch)
tree4cb26e3c64c4712c2398dac0dce3380432005206 /docs/source
parent0dadce81ec863820e7e5bb3858fa9e94718ac77d (diff)
downloadboto-716fd56f0265c6d8c437488b0abd2448a366c9aa.tar.gz
DynamoDB2.table.Table: Use of `connection` kwargs
fixes #1585 Clarify the existing comment to show how to manipulate tables in another region.
Diffstat (limited to 'docs/source')
-rw-r--r--docs/source/dynamodb2_tut.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/source/dynamodb2_tut.rst b/docs/source/dynamodb2_tut.rst
index ae012a58..449890c5 100644
--- a/docs/source/dynamodb2_tut.rst
+++ b/docs/source/dynamodb2_tut.rst
@@ -89,8 +89,8 @@ A full example::
... HashKey('account_type', data_type=NUMBER),
... ])
... ],
- ... # If you need to specify custom parameters like keys or region info...
- ... connection= boto.dynamodb2.connect_to_region('us-east-1'))
+ ... # If you need to specify custom parameters, such as credentials or region, use the following:
+ ... Table.create('users', connection=boto.dynamodb2.connect_to_region('us-east-1'))
Using an Existing Table