Skip to content
Snippets Groups Projects
Commit 59cd166b authored by Benjamin Graillot's avatar Benjamin Graillot
Browse files

[member] tabs --> spaces

parent c86ddf17
No related branches found
No related tags found
1 merge request!65Resolve "Club Parent"
Pipeline #8040 passed with stages
in 4 minutes and 20 seconds
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment