Add dessert boolean field
This commit is contained in:
parent
f9b567ec9d
commit
65a847f603
4 changed files with 21 additions and 1 deletions
16
recette/migrations/0006_recette_is_dessert.py
Normal file
16
recette/migrations/0006_recette_is_dessert.py
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('recette', '0005_postgres_unaccent'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='recette',
|
||||
name='is_dessert',
|
||||
field=models.BooleanField(default=False, verbose_name='Dessert'),
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue