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

View File

@@ -445,6 +445,6 @@ class FreeOrderProvider(BasePaymentProvider):
).aggregate(sum=Sum('price'))['sum'] == 0
@receiver(register_payment_providers)
@receiver(register_payment_providers, dispatch_uid="payment_free")
def register_payment_provider(sender, **kwargs):
return FreeOrderProvider