rattail-manual/docs/base/handlers/other/people.rst
Lance Edgar 84477e5e36 Add some more "handler" docs
app handler, batch handlers, native batch types, people handler
2021-08-18 19:07:54 -05:00

20 lines
546 B
ReStructuredText

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.