Overhaul the /ordering batch API somewhat; update docs

mostly a savepoint; the /ordering API still needs some work for sure
This commit is contained in:
Lance Edgar 2020-02-23 21:07:50 -06:00
parent 877e6088e2
commit 6c5cc95e51
6 changed files with 176 additions and 47 deletions

View file

@ -0,0 +1,15 @@
``tailbone.api.batch.core``
===========================
.. automodule:: tailbone.api.batch.core
.. autoclass:: APIBatchMixin
.. autoclass:: APIBatchView
.. autoclass:: APIBatchRowView
.. autoattribute:: editable
.. autoattribute:: supports_quick_entry

View file

@ -0,0 +1,41 @@
``tailbone.api.batch.ordering``
===============================
.. automodule:: tailbone.api.batch.ordering
.. autoclass:: OrderingBatchViews
.. autoattribute:: collection_url_prefix
.. autoattribute:: object_url_prefix
.. autoattribute:: model_class
.. autoattribute:: route_prefix
.. autoattribute:: permission_prefix
.. autoattribute:: default_handler_spec
.. automethod:: base_query
.. automethod:: create_object
.. autoclass:: OrderingBatchRowViews
.. autoattribute:: collection_url_prefix
.. autoattribute:: object_url_prefix
.. autoattribute:: model_class
.. autoattribute:: route_prefix
.. autoattribute:: permission_prefix
.. autoattribute:: default_handler_spec
.. autoattribute:: supports_quick_entry
.. automethod:: update_object

View file

@ -41,6 +41,7 @@ extensions = [
]
intersphinx_mapping = {
'rattail': ('https://rattailproject.org/docs/rattail/', None),
'webhelpers2': ('https://webhelpers2.readthedocs.io/en/latest/', None),
}

View file

@ -42,6 +42,8 @@ Package API:
.. toctree::
:maxdepth: 1
api/api/batch/core
api/api/batch/ordering
api/forms
api/grids
api/progress