Add Recette.is_veget boolean
This commit is contained in:
parent
ff4d7a5810
commit
aa3b2fdd7b
3 changed files with 20 additions and 0 deletions
16
recette/migrations/0003_recette_is_veget.py
Normal file
16
recette/migrations/0003_recette_is_veget.py
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('recette', '0002_recette_saison'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='recette',
|
||||
name='is_veget',
|
||||
field=models.BooleanField(default=False, verbose_name='Mets végétarien'),
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue