Correct Python bindings create-record example
Change-Id: Ic4dee73aa7c0f407fa3fd757edf52a923ba5707d
This commit is contained in:
parent
11d4b42c11
commit
e6ff6884d4
2
doc/requirements.txt
Normal file
2
doc/requirements.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
-r ../requirements.txt
|
||||||
|
-r ../test-requirements.txt
|
@ -307,7 +307,7 @@ Creating a Record
|
|||||||
domain_id = 'fb505f10-25df-11e3-8224-0800200c9a66'
|
domain_id = 'fb505f10-25df-11e3-8224-0800200c9a66'
|
||||||
|
|
||||||
# Create a new Record object
|
# 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
|
# Send the Create Record API call
|
||||||
record = client.records.create(domain_id, record)
|
record = client.records.create(domain_id, record)
|
||||||
|
@ -41,7 +41,7 @@ master_doc = 'index'
|
|||||||
|
|
||||||
# General information about the project.
|
# General information about the project.
|
||||||
project = u'designateclient'
|
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
|
# The version info for the project you're documenting, acts as replacement for
|
||||||
# |version| and |release|, also used in various other places throughout the
|
# |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]).
|
# (source start file, target name, title, author, documentclass [howto/manual]).
|
||||||
latex_documents = [
|
latex_documents = [
|
||||||
('index', 'designateclient.tex', u'Designate Client Documentation',
|
('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
|
# The name of an image file (relative to this directory) to place at the top of
|
||||||
|
Loading…
Reference in New Issue
Block a user