dsite/recipe/migrations/0002_auto_20211002_1926.py
Ching f683341f66 style(*.py): use Black as python code formatter
use Black as python code formatter

Signed-off-by: Ching <loooching@gmail.com>
2022-01-22 18:02:32 +08:00

24 lines
785 B
Python

# Generated by Django 3.2.6 on 2021-10-02 11:26
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [('recipe', '0001_initial')]
operations = [
migrations.AlterField(
model_name='recipe', name='recipe_type', field=models.CharField(default='meat', max_length=32)
),
migrations.CreateModel(
name='DailyRecipe',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('date', models.DateField()),
('meal_type', models.CharField(default='supper', max_length=32)),
('recipes', models.ManyToManyField(to='recipe.Recipe')),
],
),
]