Finished templates for new HTTP method
This commit is contained in:
@@ -42,10 +42,16 @@ class Team(models.Model):
|
||||
name = models.CharField(max_length=200)
|
||||
icon = models.FileField(upload_to="images/team_logos/")
|
||||
abbr = models.CharField(max_length=3)
|
||||
iconURL = models.CharField(max_length=2000)
|
||||
|
||||
def __unicode__(self):
|
||||
return self.name
|
||||
|
||||
class Meta:
|
||||
managed = True
|
||||
app_label = 'tipp'
|
||||
|
||||
|
||||
class Match(models.Model):
|
||||
matchID = models.IntegerField(unique=True,primary_key=True)
|
||||
matchDateTime = models.DateTimeField()
|
||||
|
||||
Reference in New Issue
Block a user