migration
This commit is contained in:
parent
280e0c625d
commit
904f9fc74a
1 changed files with 22 additions and 0 deletions
22
partitions/migrations/0005_setlist.py
Normal file
22
partitions/migrations/0005_setlist.py
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
# Generated by Django 2.2.25 on 2022-01-09 18:38
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('partitions', '0004_auto_20210331_1350'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.CreateModel(
|
||||||
|
name='SetList',
|
||||||
|
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')),
|
||||||
|
('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