From decfa29659e08450a4d9fbfd6406850620d86328 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=AD=C3=B0ir=20Valberg=20Gu=C3=B0mundsson?= Date: Sun, 20 May 2018 22:25:19 +0200 Subject: [PATCH] Remove obsolete check. --- src/info/models.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/info/models.py b/src/info/models.py index aecd4c0d..506e788a 100644 --- a/src/info/models.py +++ b/src/info/models.py @@ -38,11 +38,6 @@ class InfoCategory(CampRelatedModel): {'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 def camp(self): return self.team.camp