2.1.40 cargo_type default change

This commit is contained in:
SDE
2025-02-28 14:43:34 +03:00
parent e0baa07c4f
commit 98c6622e1f

View File

@@ -76,7 +76,9 @@ class Route(BaseModel):
verbose_name=_('Куда можете доставить?'),
null=True, blank=True
)
cargo_type = models.CharField(choices=cargo_type_choices, default='parcel', verbose_name=_('Могу перевезти'))
cargo_type = models.CharField(
choices=cargo_type_choices, default='letter', verbose_name=_('Могу перевезти')
)
# не используем с v2
weight = models.IntegerField(verbose_name=_('Укажите вес до (кг)'), null=True, blank=True)
phone = models.CharField(verbose_name=_('Укажите номер для связи'), blank=True, null=True)