Merge branch 'master' of github.com:jamesturk/fowl
This commit is contained in:
commit
81911ace83
5689
backup-0528.json
Normal file
5689
backup-0528.json
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@ -281,7 +281,7 @@ class League(models.Model):
|
||||
class Team(models.Model):
|
||||
name = models.CharField(max_length=100)
|
||||
color = models.CharField(max_length=50)
|
||||
login = models.OneToOneField(User, related_name='team')
|
||||
login = models.ForeignKey(User, related_name='teams')
|
||||
league = models.ForeignKey(League, related_name='teams')
|
||||
stars = models.ManyToManyField(Star, related_name='teams')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user