[WEI] Request bus size
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
parent
aa35724be2
commit
41a0b3a1c1
3 changed files with 254 additions and 245 deletions
18
apps/wei/migrations/0003_bus_size.py
Normal file
18
apps/wei/migrations/0003_bus_size.py
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 2.2.19 on 2021-08-25 21:25
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('wei', '0002_auto_20210313_1235'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='bus',
|
||||
name='size',
|
||||
field=models.IntegerField(default=50, verbose_name='seat count in the bus'),
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue