Fix warnings in devref document
WARNING: invalid signature for autoclass (u'UpdateAction **DEPRECATED**') WARNING: Literal block expected; none found. WARNING: Duplicate explicit target name: "here". WARNING: Definition list ends without a blank line; unexpected unindent. Partial-Bug: #1411719 Partial-Bug: #1486222 Change-Id: I1996269d2b5db15096796bda25b35c6560f683d2
This commit is contained in:
parent
03ba8d2820
commit
ee04fca67e
|
@ -90,7 +90,7 @@ Actions
|
|||
.. autoclass:: DeleteAction
|
||||
:members:
|
||||
|
||||
.. autoclass:: UpdateAction **DEPRECATED**
|
||||
.. autoclass:: UpdateAction
|
||||
:members:
|
||||
|
||||
Class-Based Views
|
||||
|
|
|
@ -1682,31 +1682,33 @@ Example: ``{'ipv4': ['192.168.0.0/16', '10.0.0.0/8'], 'ipv6': ['fc00::/7',]}``
|
|||
|
||||
Default::
|
||||
|
||||
{
|
||||
'admin.instances': False,
|
||||
'admin.images': False,
|
||||
'admin.networks': False,
|
||||
'admin.routers': False,
|
||||
'admin.volumes': False
|
||||
}
|
||||
{
|
||||
'admin.instances': False,
|
||||
'admin.images': False,
|
||||
'admin.networks': False,
|
||||
'admin.routers': False,
|
||||
'admin.volumes': False
|
||||
}
|
||||
|
||||
If the dict key-value is True, when the view loads, an empty table will be rendered
|
||||
and the user will be asked to provide a search criteria first (in case no search
|
||||
criteria was provided) before loading any data.
|
||||
|
||||
Examples::
|
||||
Examples:
|
||||
|
||||
Override the dict::
|
||||
|
||||
{
|
||||
'admin.instances': True,
|
||||
'admin.images': True,
|
||||
'admin.networks': False,
|
||||
'admin.routers': False,
|
||||
'admin.volumes': False
|
||||
}
|
||||
{
|
||||
'admin.instances': True,
|
||||
'admin.images': True,
|
||||
'admin.networks': False,
|
||||
'admin.routers': False,
|
||||
'admin.volumes': False
|
||||
}
|
||||
|
||||
Or, if you want to turn this on for an specific panel/view do: ``FILTER_DATA_FIRST['admin.instances'] = True``
|
||||
Or, if you want to turn this on for an specific panel/view do::
|
||||
|
||||
FILTER_DATA_FIRST['admin.instances'] = True
|
||||
|
||||
``OPERATION_LOG_ENABLED``
|
||||
-------------------------
|
||||
|
|
|
@ -983,7 +983,7 @@ class Deprecated(type):
|
|||
|
||||
@six.add_metaclass(Deprecated)
|
||||
class UpdateAction(object):
|
||||
"""A table action for cell updates by inline editing."""
|
||||
"""**DEPRECATED**: A table action for cell updates by inline editing."""
|
||||
|
||||
name = "update"
|
||||
|
||||
|
|
Loading…
Reference in New Issue