Commit 8a48fe8f authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Merge branch '416-board-membership-cannot-have-end-dates' into 'master'

Allow board membership to contain end date

Closes #416

See merge request !1183
parents 53ff95d4 9dd5de2b
......@@ -304,13 +304,6 @@ class MemberGroupMembership(models.Model, metaclass=ModelTranslateMeta):
raise ValidationError(
{'since': _("Start date can't be after group end date")})
if self.until and
raise ValidationError(
{'until': _("End date cannot be set for boards")})
except Board.DoesNotExist:
def validate_unique(self, *args, **kwargs):
super().validate_unique(*args, **kwargs)
# Check if a group has more than one chair
Supports Markdown
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