generated from 2martens/django-template
Renamed UsedIngredients to UsedIngredient
This commit is contained in:
@ -66,7 +66,7 @@ class Migration(migrations.Migration):
|
||||
],
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='UsedIngredients',
|
||||
name='UsedIngredient',
|
||||
fields=[
|
||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('amount', models.PositiveIntegerField(help_text='Please specify the used amount of the ingredient', verbose_name='Amount')),
|
||||
@ -88,7 +88,7 @@ class Migration(migrations.Migration):
|
||||
migrations.AddField(
|
||||
model_name='recipe',
|
||||
name='ingredients',
|
||||
field=models.ManyToManyField(through='food_planner.UsedIngredients', to='food_planner.Ingredient'),
|
||||
field=models.ManyToManyField(through='food_planner.UsedIngredient', to='food_planner.Ingredient'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='recipe',
|
||||
|
||||
Reference in New Issue
Block a user