diff --git a/apps/member/models.py b/apps/member/models.py index 86c6fd32..b17f1f09 100644 --- a/apps/member/models.py +++ b/apps/member/models.py @@ -384,7 +384,8 @@ class Membership(models.Model): ).exists(): raise ValidationError(_('User is already a member of the club')) - if self.club.parent_club is not None: + if self.club.parent_club is not None and not self.pk: + # Check that the user is already a member of the parent club if the membership is created if not Membership.objects.filter( user=self.user, club=self.club.parent_club,