1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 01:48:21 +02:00

[WEI] Request bus size

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
2021-08-25 23:26:57 +02:00
parent aa35724be2
commit 41a0b3a1c1
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="",