Commit 9dd5de2b authored by Tobias van der Werff's avatar Tobias van der Werff

Allow board membership to contain end date

parent b667cd83
......@@ -304,13 +304,6 @@ class MemberGroupMembership(models.Model, metaclass=ModelTranslateMeta):
raise ValidationError(
{'since': _("Start date can't be after group end date")})
try:
if self.until and self.group.board:
raise ValidationError(
{'until': _("End date cannot be set for boards")})
except Board.DoesNotExist:
pass
def validate_unique(self, *args, **kwargs):
super().validate_unique(*args, **kwargs)
# Check if a group has more than one chair
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment