Nettoyage

- PEP8
- Fichiers inutilisés
This commit is contained in:
Martin Pépin 2016-07-14 01:58:52 +02:00
parent f39ec8633d
commit 69b0b13ad3
49 changed files with 247 additions and 145 deletions

View file

@ -14,16 +14,21 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='Event',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, primary_key=True, auto_created=True)),
('id', models.AutoField(verbose_name='ID', serialize=False,
primary_key=True, auto_created=True)),
('nom', models.CharField(max_length=100)),
('nomcourt', models.CharField(verbose_name='Nom court', max_length=9)),
('nomcourt', models.CharField(verbose_name='Nom court',
max_length=9)),
('date', models.DateField()),
('debut', models.TimeField()),
('fin', models.TimeField(blank=True, null=True)),
('slug', models.CharField(max_length=7, editable=False, unique=True)),
('slug', models.CharField(max_length=7, editable=False,
unique=True)),
('lieu', models.CharField(max_length=200)),
('description', models.TextField(blank=True)),
('calendrier', models.BooleanField(verbose_name='Afficher dans le calendrier pour tous', default=False)),
('calendrier', models.BooleanField(
verbose_name='Afficher dans le calendrier pour tous',
default=False)),
],
options={
'verbose_name': 'Événement',
@ -33,8 +38,14 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='Participants',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, primary_key=True, auto_created=True)),
('reponse', models.CharField(verbose_name='Réponse', choices=[('oui', 'Oui'), ('non', 'Non'), ('pe', 'Peut-être')], default='non', max_length=20)),
('id', models.AutoField(verbose_name='ID', serialize=False,
primary_key=True, auto_created=True)),
('reponse', models.CharField(verbose_name='Réponse',
choices=[
('oui', 'Oui'),
('non', 'Non'),
('pe', 'Peut-être')],
default='non', max_length=20)),
('details', models.CharField(blank=True, max_length=50)),
('event', models.ForeignKey(to='calendrier.Event')),
('participant', models.ForeignKey(to='gestion.ErnestoUser')),