Create events.register and siblings for "handler templates"

This can be thought of as a different approach to Flask's blueprints.
This commit is contained in:
Lonami Exo
2018-09-22 12:51:58 +02:00
parent cb6f980277
commit d5d3733fd4
5 changed files with 191 additions and 10 deletions

View File

@@ -216,7 +216,7 @@ Will show a much better:
Now it's easy to see how we could get, for example,
the ``was_online`` time. It's inside ``status``:
.. code-block::
.. code-block:: python
online_at = user.status.was_online