[member] tabs --> spaces
This commit is contained in:
parent
c86ddf17ad
commit
59cd166b79
1 changed files with 1 additions and 1 deletions
|
|
@ -169,7 +169,7 @@ class Membership(models.Model):
|
||||||
def save(self, *args, **kwargs):
|
def save(self, *args, **kwargs):
|
||||||
if self.club.parent_club is not None:
|
if self.club.parent_club is not None:
|
||||||
if not Membership.objects.filter(user=self.user, club=self.club.parent_club):
|
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)
|
super().save(*args, **kwargs)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue