Add some more "handler" docs
app handler, batch handlers, native batch types, people handler
This commit is contained in:
parent
0726a70192
commit
84477e5e36
30 changed files with 397 additions and 29 deletions
19
docs/base/handlers/other/people.rst
Normal file
19
docs/base/handlers/other/people.rst
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
|
||||
People Handler
|
||||
==============
|
||||
|
||||
This handler is responsible for business logic surrounding the
|
||||
:class:`~rattail:rattail.db.model.people.Person` model.
|
||||
|
||||
You can obtain a reference to the configured handler via
|
||||
:meth:`~rattail:rattail.app.AppHandler.get_people_handler`.
|
||||
|
||||
You may override the default handler with config like:
|
||||
|
||||
.. code-block:: ini
|
||||
|
||||
[rattail]
|
||||
people.handler = poser.people:PoserPeopleHandler
|
||||
|
||||
The default handler is :class:`rattail:rattail.people.PeopleHandler` -
|
||||
see its documentation for a list of methods you can override.
|
||||
Loading…
Add table
Add a link
Reference in a new issue