forked from CGM_Public/pretix_original
Add order_gracefully_delete signal (#1454)
This commit is contained in:
committed by
Raphael Michel
parent
33cee65d7f
commit
25a998a510
@@ -391,6 +391,20 @@ as the first argument.
|
||||
As with all event-plugin signals, the ``sender`` keyword argument will contain the event.
|
||||
"""
|
||||
|
||||
order_gracefully_delete = EventPluginSignal(
|
||||
providing_args=["order"]
|
||||
)
|
||||
"""
|
||||
This signal is sent out every time a test-mode order is being deleted. The order object
|
||||
is given as the first argument.
|
||||
|
||||
Any plugin receiving this signals is supposed to perform any cleanup necessary at this
|
||||
point, so that the underlying oder has no more external constraints that would inhibit
|
||||
the deletion of the order.
|
||||
|
||||
As with all event-plugin signals, the ``sender`` keyword argument will contain the event.
|
||||
"""
|
||||
|
||||
logentry_display = EventPluginSignal(
|
||||
providing_args=["logentry"]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user