Migrations

This commit is contained in:
Ludovic Stephan 2017-07-21 16:20:39 +02:00
parent 8a587b3d56
commit ef8c62835b
3 changed files with 16 additions and 16 deletions

View file

@ -1,5 +1,5 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Generated by Django 1.11.3 on 2017-07-18 17:05 # Generated by Django 1.11.3 on 2017-07-21 14:20
from __future__ import unicode_literals from __future__ import unicode_literals
from django.conf import settings from django.conf import settings
@ -12,9 +12,9 @@ class Migration(migrations.Migration):
initial = True initial = True
dependencies = [ dependencies = [
('contenttypes', '0002_remove_content_type_name'),
('auth', '0008_alter_user_username_max_length'), ('auth', '0008_alter_user_username_max_length'),
migrations.swappable_dependency(settings.AUTH_USER_MODEL), migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('contenttypes', '0002_remove_content_type_name'),
] ]
operations = [ operations = [

View file

@ -1,5 +1,5 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Generated by Django 1.11.3 on 2017-07-18 17:05 # Generated by Django 1.11.3 on 2017-07-21 14:20
from __future__ import unicode_literals from __future__ import unicode_literals
from django.db import migrations, models from django.db import migrations, models
@ -24,8 +24,8 @@ class Migration(migrations.Migration):
('description', models.TextField(verbose_name='description')), ('description', models.TextField(verbose_name='description')),
], ],
options={ options={
'verbose_name_plural': 'matériels permanents', 'verbose_name': 'matériel',
'verbose_name': 'matériel permanent', 'verbose_name_plural': 'matériels',
}, },
), ),
migrations.CreateModel( migrations.CreateModel(
@ -38,8 +38,8 @@ class Migration(migrations.Migration):
('equipment', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='equipment.Equipment')), ('equipment', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='equipment.Equipment')),
], ],
options={ options={
'verbose_name_plural': 'attributions de matériel',
'verbose_name': 'attribution de matériel', 'verbose_name': 'attribution de matériel',
'verbose_name_plural': 'attributions de matériel',
}, },
), ),
migrations.CreateModel( migrations.CreateModel(
@ -53,8 +53,8 @@ class Migration(migrations.Migration):
('equipment', models.ForeignKey(help_text='Matériel concerné par la remarque', on_delete=django.db.models.deletion.CASCADE, related_name='remarks', to='equipment.Equipment')), ('equipment', models.ForeignKey(help_text='Matériel concerné par la remarque', on_delete=django.db.models.deletion.CASCADE, related_name='remarks', to='equipment.Equipment')),
], ],
options={ options={
'verbose_name_plural': 'remarques sur le matériel',
'verbose_name': 'remarque sur matériel', 'verbose_name': 'remarque sur matériel',
'verbose_name_plural': 'remarques sur le matériel',
}, },
), ),
migrations.AddField( migrations.AddField(

View file

@ -1,5 +1,5 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Generated by Django 1.11.3 on 2017-07-18 17:05 # Generated by Django 1.11.3 on 2017-07-21 14:20
from __future__ import unicode_literals from __future__ import unicode_literals
from django.conf import settings from django.conf import settings
@ -32,8 +32,8 @@ class Migration(migrations.Migration):
('end', models.DateTimeField(verbose_name='heure de fin')), ('end', models.DateTimeField(verbose_name='heure de fin')),
], ],
options={ options={
'verbose_name_plural': 'activités',
'verbose_name': 'activité', 'verbose_name': 'activité',
'verbose_name_plural': 'activités',
}, },
), ),
migrations.CreateModel( migrations.CreateModel(
@ -45,8 +45,8 @@ class Migration(migrations.Migration):
('color', models.CharField(help_text='Rentrer une couleur en hexadécimal', max_length=7, validators=[django.core.validators.RegexValidator(message="La chaîne de caractère rentrée n'est pas une couleur en hexadécimal.", regex='^#(?:[0-9a-fA-F]{3}){1,2}$')], verbose_name='couleur')), ('color', models.CharField(help_text='Rentrer une couleur en hexadécimal', max_length=7, validators=[django.core.validators.RegexValidator(message="La chaîne de caractère rentrée n'est pas une couleur en hexadécimal.", regex='^#(?:[0-9a-fA-F]{3}){1,2}$')], verbose_name='couleur')),
], ],
options={ options={
'verbose_name_plural': 'tags',
'verbose_name': 'tag', 'verbose_name': 'tag',
'verbose_name_plural': 'tags',
}, },
), ),
migrations.CreateModel( migrations.CreateModel(
@ -62,8 +62,8 @@ class Migration(migrations.Migration):
('remarks', models.TextField(blank=True, help_text='Visible uniquement par les organisateurs', null=True, verbose_name='remarques')), ('remarks', models.TextField(blank=True, help_text='Visible uniquement par les organisateurs', null=True, verbose_name='remarques')),
], ],
options={ options={
'verbose_name_plural': 'templates activité',
'verbose_name': 'template activité', 'verbose_name': 'template activité',
'verbose_name_plural': 'templates activité',
}, },
), ),
migrations.CreateModel( migrations.CreateModel(
@ -79,8 +79,8 @@ class Migration(migrations.Migration):
('created_by', models.ForeignKey(editable=False, on_delete=django.db.models.deletion.CASCADE, related_name='created_events', to=settings.AUTH_USER_MODEL)), ('created_by', models.ForeignKey(editable=False, on_delete=django.db.models.deletion.CASCADE, related_name='created_events', to=settings.AUTH_USER_MODEL)),
], ],
options={ options={
'verbose_name_plural': 'évènements',
'verbose_name': 'évènement', 'verbose_name': 'évènement',
'verbose_name_plural': 'évènements',
}, },
), ),
migrations.CreateModel( migrations.CreateModel(
@ -92,8 +92,8 @@ class Migration(migrations.Migration):
('event', models.ForeignKey(blank=True, help_text="Si spécifié, l'instance du modèle est spécifique à l'évènement en question", null=True, on_delete=django.db.models.deletion.CASCADE, to='event.Event', verbose_name='évènement')), ('event', models.ForeignKey(blank=True, help_text="Si spécifié, l'instance du modèle est spécifique à l'évènement en question", null=True, on_delete=django.db.models.deletion.CASCADE, to='event.Event', verbose_name='évènement')),
], ],
options={ options={
'verbose_name_plural': 'lieux',
'verbose_name': 'lieu', 'verbose_name': 'lieu',
'verbose_name_plural': 'lieux',
}, },
), ),
migrations.AddField( migrations.AddField(