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