Skip to content

Commit 4359e1f

Browse files
committed
Making the example working for Django 2.1.2
1 parent 19ef9a0 commit 4359e1f

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Generated by Django 2.0 on 2018-10-18 17:46
2+
3+
from django.db import migrations
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
('ingredients', '0002_auto_20161104_0050'),
10+
]
11+
12+
operations = [
13+
migrations.AlterModelOptions(
14+
name='category',
15+
options={'verbose_name_plural': 'Categories'},
16+
),
17+
]
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Generated by Django 2.0 on 2018-10-18 17:28
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
('recipes', '0002_auto_20161104_0106'),
10+
]
11+
12+
operations = [
13+
migrations.AlterField(
14+
model_name='recipeingredient',
15+
name='unit',
16+
field=models.CharField(choices=[('unit', 'Units'), ('kg', 'Kilograms'), ('l', 'Litres'), ('st', 'Shots')], max_length=20),
17+
),
18+
]

0 commit comments

Comments
 (0)