diff --git a/registration/signals.py b/registration/signals.py index 55a05cd..d282586 100644 --- a/registration/signals.py +++ b/registration/signals.py @@ -49,5 +49,5 @@ def update_payment_amount(instance, **_): """ if instance.type == 'free' or instance.type == 'scholarship': instance.amount = 0 - elif instance.pk: + elif instance.pk and instance.registrations.exists(): instance.amount = instance.registrations.count() * instance.tournament.price