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
@@ -25,7 +25,7 @@ that we'll soon create::
from pretix.base.signals import register_data_exporter
@receiver(register_data_exporter)
@receiver(register_data_exporter, dispatch_uid="exporter_myexporter")
def register_data_exporter(sender, **kwargs):
from .exporter import MyExporter
return MyExporter