model change and backup

This commit is contained in:
James Turk 2012-05-29 00:52:06 -04:00
parent aa1fe6ce38
commit 548792c96e
3 changed files with 5690 additions and 2 deletions

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

View File

@ -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')