forked from DGNum/gestioCOF
Merge branch 'Kerl/update_migrations_tirage' into 'master'
Effectue des migrations oubliées dans !17 Le champ `price` des spectacles est devenu obligatoire. Le champ `active` des tirages prends désormais la valeur `False` par défaut. Ces changements datent de4933cc61b2
et68e3c3412a
. Il faut lancer la commande `python manage.py migrate` pour appliquer ce patch. See merge request !28
This commit is contained in:
commit
b6565bb07e
1 changed files with 24 additions and 0 deletions
24
bda/migrations/0003_update_tirage_and_spectacle.py
Normal file
24
bda/migrations/0003_update_tirage_and_spectacle.py
Normal file
|
@ -0,0 +1,24 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('bda', '0002_add_tirage'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='spectacle',
|
||||
name='price',
|
||||
field=models.FloatField(verbose_name=b"Prix d'une place"),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='tirage',
|
||||
name='active',
|
||||
field=models.BooleanField(default=False, verbose_name=b'Tirage actif'),
|
||||
),
|
||||
]
|
Loading…
Reference in a new issue