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
23
docs/base/handlers/app.rst
Normal file
23
docs/base/handlers/app.rst
Normal 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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue