diff --git a/core/migrations/0008_auto_20190607_1422.py b/core/migrations/0008_auto_20190607_1422.py new file mode 100644 index 00000000..c69ab5e4 --- /dev/null +++ b/core/migrations/0008_auto_20190607_1422.py @@ -0,0 +1,18 @@ +# Generated by Django 2.2.1 on 2019-06-07 14:22 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('core', '0007_temperature'), + ] + + operations = [ + migrations.AlterField( + model_name='feeding', + name='type', + field=models.CharField(choices=[('breast milk', 'Breast milk'), ('formula', 'Formula'), ('fortified breast milk', 'Fortified breast milk')], max_length=255, verbose_name='Type'), + ), + ] diff --git a/core/models.py b/core/models.py index 6ee839d0..82e020d3 100644 --- a/core/models.py +++ b/core/models.py @@ -194,7 +194,11 @@ class Feeding(models.Model): verbose_name=_('Duration') ) type = models.CharField( - choices=[('breast milk', _('Breast milk')), ('formula', _('Formula'))], + choices=[ + ('breast milk', _('Breast milk')), + ('formula', _('Formula')), + ('fortified breast milk', _('Fortified breast milk')), + ], max_length=255, verbose_name=_('Type') )