black+isort
This commit is contained in:
parent
904f9fc74a
commit
f961722fa8
1 changed files with 28 additions and 6 deletions
|
@ -6,17 +6,39 @@ from django.db import migrations, models
|
||||||
class Migration(migrations.Migration):
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
('partitions', '0004_auto_20210331_1350'),
|
("partitions", "0004_auto_20210331_1350"),
|
||||||
]
|
]
|
||||||
|
|
||||||
operations = [
|
operations = [
|
||||||
migrations.CreateModel(
|
migrations.CreateModel(
|
||||||
name='SetList',
|
name="SetList",
|
||||||
fields=[
|
fields=[
|
||||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
(
|
||||||
('date', models.DateField(verbose_name='Date de la répétition')),
|
"id",
|
||||||
('is_current', models.CharField(choices=[('y', 'Oui'), ('n', 'Non')], default='y', max_length=1, verbose_name="Afficher le programme de répétition (les répétition vieilles de plus d'une semaine ne sont pas affiché d'office)")),
|
models.AutoField(
|
||||||
('morceaux', models.ManyToManyField(to='partitions.PartitionSet', verbose_name='Morceaux de la répétition (ctrl ou cmd pour en selectionner plusieurs)')),
|
auto_created=True,
|
||||||
|
primary_key=True,
|
||||||
|
serialize=False,
|
||||||
|
verbose_name="ID",
|
||||||
|
),
|
||||||
|
),
|
||||||
|
("date", models.DateField(verbose_name="Date de la répétition")),
|
||||||
|
(
|
||||||
|
"is_current",
|
||||||
|
models.CharField(
|
||||||
|
choices=[("y", "Oui"), ("n", "Non")],
|
||||||
|
default="y",
|
||||||
|
max_length=1,
|
||||||
|
verbose_name="Afficher le programme de répétition (les répétition vieilles de plus d'une semaine ne sont pas affiché d'office)",
|
||||||
|
),
|
||||||
|
),
|
||||||
|
(
|
||||||
|
"morceaux",
|
||||||
|
models.ManyToManyField(
|
||||||
|
to="partitions.PartitionSet",
|
||||||
|
verbose_name="Morceaux de la répétition (ctrl ou cmd pour en selectionner plusieurs)",
|
||||||
|
),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue