fix : 字段更改
This commit is contained in:
parent
704ca815d3
commit
0824deeadc
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 3.2.12 on 2024-05-08 06:55
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('supervision', '0068_alter_pt_certificate_date'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='pt',
|
||||
name='result',
|
||||
field=models.PositiveSmallIntegerField(choices=[(0, '未出'), (10, '满意'), (20, '有问题'), (30, '不满意')], default=0, help_text="((0, '未出'), (10, '满意'), (20, '有问题'), (30, '不满意'))", verbose_name='结果'),
|
||||
),
|
||||
]
|
|
@ -235,7 +235,7 @@ class Pt(CommonBDModel):
|
|||
"""能力验证
|
||||
"""
|
||||
pt_result_choices = (
|
||||
(0, '/'),
|
||||
(0, '未出'),
|
||||
(10, '满意'),
|
||||
(20, '有问题'),
|
||||
(30, '不满意')
|
||||
|
|
Loading…
Reference in New Issue