Add new signal logentry_object_link

This commit is contained in:
Raphael Michel
2017-09-13 17:36:13 +02:00
parent 9cd3e2d494
commit ed35c4f74e
5 changed files with 51 additions and 1 deletions

View File

@@ -51,7 +51,7 @@ Backend
.. automodule:: pretix.base.signals
:members: logentry_display, requiredaction_display
:members: logentry_display, logentry_object_link, requiredaction_display
Vouchers
""""""""

View File

@@ -114,6 +114,19 @@ method to make your receivers available::
def ready(self):
from . import signals # NOQA
You can optionally specify code that is executed when your plugin is activated for an event
in the ``installed`` method::
class PaypalApp(AppConfig):
def installed(self, event):
pass # Your code here
Note that ``installed`` will *not* be called if the plugin in indirectly activated for an event
because the event is created with settings copied from another event.
Views
-----