mirror of https://github.com/snachodog/mybuddy.git
Add "Fortified brest milk" feeding type option (#71).
This commit is contained in:
parent
1d1b994e1a
commit
f270af8cd4
|
@ -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'),
|
||||
),
|
||||
]
|
|
@ -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')
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue