Don't limit the team choices for ResultUsedInReviewTeam, otherwise

it's not possible to make a new team
 - Legacy-Id: 12363
This commit is contained in:
Ole Laursen 2016-11-16 10:42:18 +00:00
parent 4826de8c5e
commit d302875381

View file

@ -88,7 +88,7 @@ class ResultUsedInReviewTeam(models.Model):
reviews. This also implicitly defines which teams are review
teams - if there are no possible review results valid for a given
team, it can't be a review team."""
team = models.ForeignKey(Group, limit_choices_to=~models.Q(resultusedinreviewteam=None))
team = models.ForeignKey(Group)
result = models.ForeignKey(ReviewResultName)
def __unicode__(self):