Add signals for customer account creation and sign in (#3470)

This commit is contained in:
Kian Cross
2023-07-17 10:09:05 +01:00
committed by GitHub
parent 82969daf37
commit a7f7c64cce
4 changed files with 77 additions and 11 deletions

View File

@@ -787,3 +787,23 @@ return a dictionary mapping names of attributes in the settings store to DRF ser
As with all event-plugin signals, the ``sender`` keyword argument will contain the event.
"""
customer_created = GlobalSignal()
"""
Arguments: ``customer``
This signal is sent out every time a customer account is created. The ``customer``
object is given as the first argument.
The ``sender`` keyword argument will contain the organizer.
"""
customer_signed_in = GlobalSignal()
"""
Arguments: ``customer``
This signal is sent out every time a customer signs in. The ``customer`` object
is given as the first argument.
The ``sender`` keyword argument will contain the organizer.
"""