SHARE
TWEET

Untitled

a guest Jun 20th, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. matches = Match.objects.filter(phase=phase)
  2.      
  3. class Match(models.Model):
  4.     isFinished  = models.BooleanField(default=False)
  5.     team1Win    = models.BooleanField(default=False)
  6.     team2Win    = models.BooleanField(default=False)
  7.     phase       = models.ForeignKey(Phase, default=None, on_delete=models.CASCADE)
  8.     teams       = models.ManyToManyField(Team, default=None, blank=True)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top