mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-08-19 13:43:40 +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:
commit
31e159e16a
2 changed files with 2 additions and 1 deletions
|
@ -59,7 +59,7 @@ class Migration(migrations.Migration):
|
||||||
migrations.AddField(
|
migrations.AddField(
|
||||||
model_name='cotisation',
|
model_name='cotisation',
|
||||||
name='type_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(
|
migrations.AddField(
|
||||||
model_name='vente',
|
model_name='vente',
|
||||||
|
|
|
@ -534,6 +534,7 @@ class Cotisation(models.Model):
|
||||||
type_cotisation = models.CharField(
|
type_cotisation = models.CharField(
|
||||||
choices=COTISATION_TYPE,
|
choices=COTISATION_TYPE,
|
||||||
max_length=255,
|
max_length=255,
|
||||||
|
default='All',
|
||||||
)
|
)
|
||||||
date_start = models.DateTimeField()
|
date_start = models.DateTimeField()
|
||||||
date_end = models.DateTimeField()
|
date_end = models.DateTimeField()
|
||||||
|
|
Loading…
Reference in a new issue