[member] tabs --> spaces

This commit is contained in:
Benjamin Graillot 2020-03-25 18:05:46 +01:00
parent c86ddf17ad
commit 59cd166b79
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ class Membership(models.Model):
def save(self, *args, **kwargs):
if self.club.parent_club is not None:
if not Membership.objects.filter(user=self.user, club=self.club.parent_club):
raise ValidationError(_('User is not a member of the parent club'))
raise ValidationError(_('User is not a member of the parent club'))
super().save(*args, **kwargs)
class Meta: