Add some more "handler" docs

app handler, batch handlers, native batch types, people handler
This commit is contained in:
Lance Edgar 2021-08-18 12:49:40 -05:00
parent 0726a70192
commit 84477e5e36
30 changed files with 397 additions and 29 deletions

View file

@ -0,0 +1,23 @@
App Handler
===========
There is one handler which corresponds to the app itself, whereas all
other handlers correspond to some "portion" of the app. This main app
handler's primary purpose is to:
- provide a common interface for obtaining all other handlers
- provide some "global" methods, e.g. for rendering date/time values
You can override the main app handler, with config like:
.. code-block:: ini
[rattail]
app.handler = poser.app:PoserAppHandler
Of course that must point to a valid ``AppHandler`` class, which you
probably must create.
See also :class:`rattail:rattail.app.AppHandler` which is the default
and base class.