Correct Python bindings create-record example

Change-Id: Ic4dee73aa7c0f407fa3fd757edf52a923ba5707d
This commit is contained in:
Kiall Mac Innes 2014-04-14 19:26:59 +01:00
parent 11d4b42c11
commit e6ff6884d4
3 changed files with 5 additions and 3 deletions

2
doc/requirements.txt Normal file
View File

@ -0,0 +1,2 @@
-r ../requirements.txt
-r ../test-requirements.txt

View File

@ -307,7 +307,7 @@ Creating a Record
domain_id = 'fb505f10-25df-11e3-8224-0800200c9a66'
# Create a new Record object
record = Record(name="www.example.com.", type="A", content="127.0.0.1")
record = Record(name="www.example.com.", type="A", data="127.0.0.1")
# Send the Create Record API call
record = client.records.create(domain_id, record)

View File

@ -41,7 +41,7 @@ master_doc = 'index'
# General information about the project.
project = u'designateclient'
copyright = u'2012, Managed I.T.'
copyright = u'2012, Managed I.T. 2013-2014, Hewlett-Packard Development Company, L.P.'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
@ -185,7 +185,7 @@ latex_elements = {
# (source start file, target name, title, author, documentclass [howto/manual]).
latex_documents = [
('index', 'designateclient.tex', u'Designate Client Documentation',
u'Managed I.T.', 'manual'),
u'OpenStack', 'manual'),
]
# The name of an image file (relative to this directory) to place at the top of