Updated the docs a little bit.

This commit is contained in:
Gabriel Hurley
2011-10-31 15:59:25 -07:00
parent 2cb99fccfe
commit 6cd7a43024
2 changed files with 4 additions and 4 deletions

View File

@@ -25,9 +25,9 @@ Python API
By way of a quick-start::
# use v2.0 auth with http://example.com:5000/v2.0/")
# use v2.0 auth with http://example.com:5000/v2.0")
>>> from keystoneclient.v2_0 import client
>>> keystone = client.Client(USERNAME, API_KEY, PROJECT_ID)
>>> keystone = client.Client(username=USERNAME, password=API_KEY, project_id=TENANT, auth_url=KEYSTONE_URL)
>>> keystone.tenants.list()
>>> tenant = keystone.tenants.create(name="test", descrption="My new tenant!", enabled=True)
>>> tenant.delete()

View File

@@ -11,10 +11,10 @@ using `keystone-manage`.
Contents:
.. toctree::
:maxdepth: 2
:maxdepth: 1
shell
api
shell
ref/index
releases