24 lines
		
	
	
		
			1007 B
		
	
	
	
		
			Python
		
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			1007 B
		
	
	
	
		
			Python
		
	
	
	
| # Generated by Django 3.2.6 on 2021-09-07 03:11
 | ||
| 
 | ||
| from django.db import migrations, models
 | ||
| 
 | ||
| 
 | ||
| class Migration(migrations.Migration):
 | ||
| 
 | ||
|     dependencies = [
 | ||
|         ('mtm', '0009_techdoc'),
 | ||
|     ]
 | ||
| 
 | ||
|     operations = [
 | ||
|         migrations.AlterField(
 | ||
|             model_name='recordformfield',
 | ||
|             name='boolean_field_display',
 | ||
|             field=models.JSONField(blank=True, default=dict, help_text='当为布尔类型时候,可以支持自定义显示形式。{"1":"是","0":"否"}或{"1":"需要","0":"不需要"},注意数字也需要引号', null=True, verbose_name='布尔类型显示名'),
 | ||
|         ),
 | ||
|         migrations.AlterField(
 | ||
|             model_name='recordformfield',
 | ||
|             name='field_choice',
 | ||
|             field=models.JSONField(blank=True, default=dict, help_text='radio,checkbox,select,multiselect类型可供选择的选项,格式为json如:{"1":"中国", "2":"美国"},注意数字也需要引号', null=True, verbose_name='radio、checkbox、select的选项'),
 | ||
|         ),
 | ||
|     ]
 |