small fixes

This commit is contained in:
Qwann 2018-08-06 19:31:34 +02:00
parent 747d3419b2
commit e5ac994380
2 changed files with 9 additions and 9 deletions

View file

@ -1,5 +1,5 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Generated by Django 1.11.11 on 2018-08-06 15:04 # Generated by Django 1.11.11 on 2018-08-06 17:29
from __future__ import unicode_literals from __future__ import unicode_literals
import datetime import datetime
@ -51,8 +51,8 @@ class Migration(migrations.Migration):
('name', models.CharField(max_length=200, verbose_name='nom')), ('name', models.CharField(max_length=200, verbose_name='nom')),
], ],
options={ options={
'verbose_name': 'pôle', 'verbose_name': 'catégories',
'verbose_name_plural': 'pôles', 'verbose_name_plural': 'catégories',
}, },
), ),
migrations.CreateModel( migrations.CreateModel(
@ -73,8 +73,8 @@ class Migration(migrations.Migration):
('name', models.CharField(max_length=200, verbose_name='nom')), ('name', models.CharField(max_length=200, verbose_name='nom')),
], ],
options={ options={
'verbose_name': 'catégorie', 'verbose_name': 'pôle',
'verbose_name_plural': 'catégories', 'verbose_name_plural': 'pôle',
}, },
), ),
migrations.CreateModel( migrations.CreateModel(

View file

@ -30,8 +30,8 @@ class EquipmentPole(models.Model):
) )
class Meta: class Meta:
verbose_name = _("catégorie") verbose_name = _("pôle")
verbose_name_plural = _("catégories") verbose_name_plural = _("pôle")
def __str__(self): def __str__(self):
return self.name return self.name
@ -44,8 +44,8 @@ class EquipmentCategory(models.Model):
) )
class Meta: class Meta:
verbose_name = _("pôle") verbose_name = _("catégories")
verbose_name_plural = _("pôles") verbose_name_plural = _("catégories")
def __str__(self): def __str__(self):
return self.name return self.name