style: black
This commit is contained in:
parent
670fda3c9c
commit
b65d37b141
2 changed files with 83 additions and 16 deletions
|
@ -7,19 +7,42 @@ from django.db import migrations, models
|
|||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('gestioncof', '0014_cofprofile_mailing_unernestaparis'),
|
||||
]
|
||||
dependencies = [("gestioncof", "0014_cofprofile_mailing_unernestaparis")]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='petitcoursability',
|
||||
name='niveau',
|
||||
field=models.CharField(choices=[('college', 'Collège'), ('lycee', 'Lycée'), ('prepa1styear', 'Prépa 1ère année / L1'), ('prepa2ndyear', 'Prépa 2ème année / L2'), ('licence3', 'Licence 3'), ('master1', 'Master (1ère ou 2ème année)'), ('other', 'Autre (préciser dans les commentaires)')], max_length=12, verbose_name='Niveau'),
|
||||
model_name="petitcoursability",
|
||||
name="niveau",
|
||||
field=models.CharField(
|
||||
choices=[
|
||||
("college", "Collège"),
|
||||
("lycee", "Lycée"),
|
||||
("prepa1styear", "Prépa 1ère année / L1"),
|
||||
("prepa2ndyear", "Prépa 2ème année / L2"),
|
||||
("licence3", "Licence 3"),
|
||||
("master1", "Master (1ère ou 2ème année)"),
|
||||
("other", "Autre (préciser dans les commentaires)"),
|
||||
],
|
||||
max_length=12,
|
||||
verbose_name="Niveau",
|
||||
),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='petitcoursdemande',
|
||||
name='niveau',
|
||||
field=models.CharField(choices=[('college', 'Collège'), ('lycee', 'Lycée'), ('prepa1styear', 'Prépa 1ère année / L1'), ('prepa2ndyear', 'Prépa 2ème année / L2'), ('licence3', 'Licence 3'), ('master1', 'Master (1ère ou 2ème année)'), ('other', 'Autre (préciser dans les commentaires)')], default='', max_length=12, verbose_name='Niveau'),
|
||||
model_name="petitcoursdemande",
|
||||
name="niveau",
|
||||
field=models.CharField(
|
||||
choices=[
|
||||
("college", "Collège"),
|
||||
("lycee", "Lycée"),
|
||||
("prepa1styear", "Prépa 1ère année / L1"),
|
||||
("prepa2ndyear", "Prépa 2ème année / L2"),
|
||||
("licence3", "Licence 3"),
|
||||
("master1", "Master (1ère ou 2ème année)"),
|
||||
("other", "Autre (préciser dans les commentaires)"),
|
||||
],
|
||||
default="",
|
||||
max_length=12,
|
||||
verbose_name="Niveau",
|
||||
),
|
||||
),
|
||||
]
|
||||
|
|
|
@ -7,14 +7,58 @@ from django.db import migrations, models
|
|||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('kfet', '0064_promo_2018'),
|
||||
]
|
||||
dependencies = [("kfet", "0064_promo_2018")]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='account',
|
||||
name='promo',
|
||||
field=models.IntegerField(blank=True, choices=[(1980, 1980), (1981, 1981), (1982, 1982), (1983, 1983), (1984, 1984), (1985, 1985), (1986, 1986), (1987, 1987), (1988, 1988), (1989, 1989), (1990, 1990), (1991, 1991), (1992, 1992), (1993, 1993), (1994, 1994), (1995, 1995), (1996, 1996), (1997, 1997), (1998, 1998), (1999, 1999), (2000, 2000), (2001, 2001), (2002, 2002), (2003, 2003), (2004, 2004), (2005, 2005), (2006, 2006), (2007, 2007), (2008, 2008), (2009, 2009), (2010, 2010), (2011, 2011), (2012, 2012), (2013, 2013), (2014, 2014), (2015, 2015), (2016, 2016), (2017, 2017), (2018, 2018), (2019, 2019)], default=2018, null=True),
|
||||
),
|
||||
model_name="account",
|
||||
name="promo",
|
||||
field=models.IntegerField(
|
||||
blank=True,
|
||||
choices=[
|
||||
(1980, 1980),
|
||||
(1981, 1981),
|
||||
(1982, 1982),
|
||||
(1983, 1983),
|
||||
(1984, 1984),
|
||||
(1985, 1985),
|
||||
(1986, 1986),
|
||||
(1987, 1987),
|
||||
(1988, 1988),
|
||||
(1989, 1989),
|
||||
(1990, 1990),
|
||||
(1991, 1991),
|
||||
(1992, 1992),
|
||||
(1993, 1993),
|
||||
(1994, 1994),
|
||||
(1995, 1995),
|
||||
(1996, 1996),
|
||||
(1997, 1997),
|
||||
(1998, 1998),
|
||||
(1999, 1999),
|
||||
(2000, 2000),
|
||||
(2001, 2001),
|
||||
(2002, 2002),
|
||||
(2003, 2003),
|
||||
(2004, 2004),
|
||||
(2005, 2005),
|
||||
(2006, 2006),
|
||||
(2007, 2007),
|
||||
(2008, 2008),
|
||||
(2009, 2009),
|
||||
(2010, 2010),
|
||||
(2011, 2011),
|
||||
(2012, 2012),
|
||||
(2013, 2013),
|
||||
(2014, 2014),
|
||||
(2015, 2015),
|
||||
(2016, 2016),
|
||||
(2017, 2017),
|
||||
(2018, 2018),
|
||||
(2019, 2019),
|
||||
],
|
||||
default=2018,
|
||||
null=True,
|
||||
),
|
||||
)
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue