Remove obsolete check.

This commit is contained in:
Víðir Valberg Guðmundsson 2018-05-20 22:25:19 +02:00
parent a8df8f0cee
commit decfa29659

View file

@ -38,11 +38,6 @@ class InfoCategory(CampRelatedModel):
{'anchor': 'Anchor is already in use on an info item for this camp'} {'anchor': 'Anchor is already in use on an info item for this camp'}
) )
if self.team.camp != self.camp:
raise ValidationError(
{'team': 'Team is a team from another camp.'}
)
@property @property
def camp(self): def camp(self):
return self.team.camp return self.team.camp