Added dispatch_uid argument to all receivers to prevent duplicate

execution
This commit is contained in:
Raphael Michel
2015-08-15 14:36:29 +02:00
parent 9720cd8fea
commit 8e086f1f3f
13 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -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