学校订餐菜单生成器:Django+DRF 后端与 React 前端,支持 A/B 双套营养周菜单生成、部分自选、拼音搜索、营养校准、Excel 导出
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 6.0.8 on 2026-08-05 13:09
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('meals', '0003_dish_calorie_dish_fat_dish_protein'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='dish',
|
||||
name='cuisine',
|
||||
field=models.CharField(blank=True, choices=[('家常菜', '家常菜'), ('本帮菜', '本帮菜'), ('江浙菜', '江浙菜'), ('川菜', '川菜'), ('粤菜', '粤菜'), ('鲁菜', '鲁菜'), ('湘菜', '湘菜'), ('西北菜', '西北菜'), ('面点小吃', '面点小吃')], default='家常菜', max_length=20, verbose_name='菜系'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user