Remove obsolete check.
This commit is contained in:
parent
a8df8f0cee
commit
decfa29659
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue