mirror of
https://github.com/pretix/pretix.git
synced 2026-08-29 13:44:40 +00:00
Added dispatch_uid argument to all receivers to prevent duplicate
execution
This commit is contained in:
@@ -24,7 +24,7 @@ that we'll soon create::
|
||||
from pretix.base.signals import register_ticket_outputs
|
||||
|
||||
|
||||
@receiver(register_ticket_outputs)
|
||||
@receiver(register_ticket_outputs, dispatch_uid="output_pdf")
|
||||
def register_ticket_output(sender, **kwargs):
|
||||
from .ticketoutput import PdfTicketOutput
|
||||
return PdfTicketOutput
|
||||
|
||||
Reference in New Issue
Block a user