[WEI] Request bus size

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
Yohann D'ANELLO 2021-08-25 23:26:57 +02:00
parent aa35724be2
commit 41a0b3a1c1
No known key found for this signature in database
GPG key ID: 3A75C55819C8CF85
3 changed files with 254 additions and 245 deletions

View file

@ -66,6 +66,11 @@ class Bus(models.Model):
verbose_name=_("name"),
)
size = models.IntegerField(
verbose_name=_("seat count in the bus"),
default=50,
)
description = models.TextField(
blank=True,
default="",