8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-25 00:13:45 +00:00

Merge branch 'fix_migration' into 'master'

Devrait fixer le bug sur cotisations/migrations/0026_auto_20171028_0126.py

See merge request federez/re2o!86
This commit is contained in:
chirac 2018-03-03 00:47:29 +01:00
commit 31e159e16a
2 changed files with 2 additions and 1 deletions

View file

@ -59,7 +59,7 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='cotisation',
name='type_cotisation',
field=models.CharField(choices=[('Connexion', 'Connexion'), ('Adhesion', 'Adhesion'), ('All', 'All')], max_length=255),
field=models.CharField(choices=[('Connexion', 'Connexion'), ('Adhesion', 'Adhesion'), ('All', 'All')], max_length=255, default='All'),
),
migrations.AddField(
model_name='vente',

View file

@ -534,6 +534,7 @@ class Cotisation(models.Model):
type_cotisation = models.CharField(
choices=COTISATION_TYPE,
max_length=255,
default='All',
)
date_start = models.DateTimeField()
date_end = models.DateTimeField()