Skip to content

Commit 927e3ad

Browse files
fixed example setup() call
1 parent 40eb10c commit 927e3ad

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ Getting Started
5353
5454
# see http://datastax.github.io/python-driver/api/cassandra/cluster.html for options
5555
# the list of hosts will be passed to create a Cluster() instance
56-
>>> connection.setup(['127.0.0.1'])
56+
>>> connection.setup(['127.0.0.1'], "cqlengine")
5757
5858
# if you're connecting to a 1.2 cluster
59-
>>> connection.setup(['127.0.0.1'], protocol_version=1)
59+
>>> connection.setup(['127.0.0.1'], "cqlengine", protocol_version=1)
6060
6161
#...and create your CQL table
6262
>>> from cqlengine.management import sync_table

0 commit comments

Comments
 (0)