From 3943c3ab9ff39b363804695fa2b7209119266ed1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20P=C3=A9pin?= Date: Mon, 26 Sep 2016 16:03:33 +0200 Subject: [PATCH] PEP8 --- bda/migrations/0009_revente.py | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/bda/migrations/0009_revente.py b/bda/migrations/0009_revente.py index 258762c7..0c039700 100644 --- a/bda/migrations/0009_revente.py +++ b/bda/migrations/0009_revente.py @@ -15,11 +15,17 @@ class Migration(migrations.Migration): migrations.CreateModel( name='SpectacleRevente', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('date', models.DateTimeField(default=django.utils.timezone.now, verbose_name='Date de mise en vente')), - ('notif_sent', models.BooleanField(default=False, verbose_name='Notification envoy\xe9e')), - ('tirage_done', models.BooleanField(default=False, verbose_name='Tirage effectu\xe9')), - ('attribution', models.OneToOneField(related_name='revente', to='bda.Attribution')), + ('id', models.AutoField(verbose_name='ID', serialize=False, + auto_created=True, primary_key=True)), + ('date', models.DateTimeField( + default=django.utils.timezone.now, + verbose_name='Date de mise en vente')), + ('notif_sent', models.BooleanField( + default=False, verbose_name='Notification envoy\xe9e')), + ('tirage_done', models.BooleanField( + default=False, verbose_name='Tirage effectu\xe9')), + ('attribution', models.OneToOneField(related_name='revente', + to='bda.Attribution')), ], options={ 'verbose_name': 'Revente', @@ -28,21 +34,26 @@ class Migration(migrations.Migration): migrations.AddField( model_name='participant', name='choicesrevente', - field=models.ManyToManyField(related_name='revente', to='bda.Spectacle', blank=True), + field=models.ManyToManyField(related_name='revente', + to='bda.Spectacle', blank=True), ), migrations.AddField( model_name='spectaclerevente', name='interested', - field=models.ManyToManyField(related_name='wanted', to='bda.Participant', blank=True), + field=models.ManyToManyField(related_name='wanted', + to='bda.Participant', blank=True), ), migrations.AddField( model_name='spectaclerevente', name='seller', - field=models.ForeignKey(related_name='original_shows', verbose_name='Vendeur', to='bda.Participant'), + field=models.ForeignKey(related_name='original_shows', + verbose_name='Vendeur', + to='bda.Participant'), ), migrations.AddField( model_name='spectaclerevente', name='soldTo', - field=models.ForeignKey(verbose_name='Vendue \xe0', blank=True, to='bda.Participant', null=True), + field=models.ForeignKey(verbose_name='Vendue \xe0', blank=True, + to='bda.Participant', null=True), ), ]