diff --git a/core/apps/evaluation/choices/reference.py b/core/apps/evaluation/choices/reference.py index 33d4275..87c991c 100644 --- a/core/apps/evaluation/choices/reference.py +++ b/core/apps/evaluation/choices/reference.py @@ -14,3 +14,4 @@ class ReferenceType(models.TextChoices): DETERMINED_VALUE = "determined_value", _("Determined value type") PROPERTY_RIGHTS = "property_rights", _("Property rights") OWNERSHIP_FORM = "ownership_form", _("Ownership form") + ASSESSMENT_TASK_TYPE = "assessment_task_type", _("Assessment task type") diff --git a/core/apps/evaluation/migrations/0045_alter_referenceitemmodel_type.py b/core/apps/evaluation/migrations/0045_alter_referenceitemmodel_type.py new file mode 100644 index 0000000..4a3f20c --- /dev/null +++ b/core/apps/evaluation/migrations/0045_alter_referenceitemmodel_type.py @@ -0,0 +1,16 @@ +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('evaluation', '0044_remove_autoevaluationmodel_car_type_and_more'), + ] + + operations = [ + migrations.AlterField( + model_name='referenceitemmodel', + name='type', + field=models.CharField(choices=[('brand', 'Brand'), ('marka', 'Marka'), ('color', 'Color'), ('fuel_type', 'Fuel type'), ('body_type', 'Body type'), ('car_position', 'Car position'), ('state_car', 'Car state'), ('evaluation_purpose', 'Evaluation purpose'), ('determined_value', 'Determined value type'), ('property_rights', 'Property rights'), ('ownership_form', 'Ownership form'), ('assessment_task_type', 'Assessment task type')], max_length=50, verbose_name='type'), + ), + ] diff --git a/task.txt b/task.txt index f9c768b..f580023 100644 --- a/task.txt +++ b/task.txt @@ -1,13 +1 @@ -/v1/auto-evaluation/ field qo'shish va o'zgartirish kerak - - -object_type => Bu hozirda select. O’shanga value qo’shish kerak: bus, moto -car_position => Qo’shish kerak. Bu hozirda select. /api/v1/reference-item/ api’dan value yuboraman -distance_covered => Qo’shish kerak. Number. Bosib o’tilgan masofasi -body_type => Qo’shish kerak. Bu hozirda select. /api/v1/reference-item/ api’dan value yuboraman -fuel_type => Qo’shish kerak. Bu hozirda select. /api/v1/reference-item/ api’dan value yuboraman -state_car => Qo’shish kerak. Bu hozirda select. /api/v1/reference-item/ api’dan value yuboraman -car_type => manashu field ni olib tashlash kerak -tex_passport_file => multiple qilish kerak -assessment_task_type => Baholash vazifasi. Qo’shish kerak. Select bo’ladi. /api/v1/reference-item/ api’dan value yuboraman -object_owner_residence => Obyekt egasi yashash joyi. Qo’shish kerak. string bo’ladi. \ No newline at end of file +Refrence item model'ga "assessment_task_type" kategoriya qo'shish kerak