feat: add empty_weigh and full_weight fields for auto and mechanic rvalution models

This commit is contained in:
xoliqberdiyev
2026-05-06 15:12:46 +05:00
parent a17c2a52ce
commit 23b8c1450f
10 changed files with 123 additions and 79 deletions

View File

@@ -0,0 +1,31 @@
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("evaluation", "0046_mechanicauto_fields_and_multi_tex_passport"),
]
operations = [
migrations.AddField(
model_name="autoevaluationmodel",
name="full_weight",
field=models.PositiveIntegerField(blank=True, null=True, verbose_name="full weight"),
),
migrations.AddField(
model_name="autoevaluationmodel",
name="empty_weight",
field=models.PositiveIntegerField(blank=True, null=True, verbose_name="empty weight"),
),
migrations.AddField(
model_name="mechanicautoevaluationmodel",
name="full_weight",
field=models.PositiveIntegerField(blank=True, null=True, verbose_name="full weight"),
),
migrations.AddField(
model_name="mechanicautoevaluationmodel",
name="empty_weight",
field=models.PositiveIntegerField(blank=True, null=True, verbose_name="empty weight"),
),
]