Add teams
This commit is contained in:
parent
822853be66
commit
840376a4f5
15 changed files with 2054 additions and 16 deletions
|
|
@ -50,6 +50,12 @@ class Bus(models.Model):
|
|||
verbose_name=_("name"),
|
||||
)
|
||||
|
||||
description = models.TextField(
|
||||
blank=True,
|
||||
default="",
|
||||
verbose_name=_("description"),
|
||||
)
|
||||
|
||||
def __str__(self):
|
||||
return self.name
|
||||
|
||||
|
|
@ -77,6 +83,12 @@ class BusTeam(models.Model):
|
|||
help_text=_("The color of the T-Shirt, stored with its number equivalent"),
|
||||
)
|
||||
|
||||
description = models.TextField(
|
||||
blank=True,
|
||||
default="",
|
||||
verbose_name=_("description"),
|
||||
)
|
||||
|
||||
def __str__(self):
|
||||
return self.name + " (" + str(self.bus) + ")"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue