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

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

This commit is contained in:
Hugo LEVY-FALK 2018-03-03 00:17:42 +01:00
parent 668724e5ff
commit 107fa6b902
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()