Adapted some other verbose names
This commit is contained in:
parent
34a586d1f4
commit
9bdad7fdb1
5 changed files with 11 additions and 3 deletions
|
|
@ -94,7 +94,7 @@ INSTALLED_APPS = (
|
|||
|
||||
'django_summernote',
|
||||
'tabimport',
|
||||
'stages',
|
||||
'stages.apps.StagesConfig',
|
||||
'candidats',
|
||||
)
|
||||
|
||||
|
|
|
|||
6
stages/apps.py
Normal file
6
stages/apps.py
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class StagesConfig(AppConfig):
|
||||
name = 'stages'
|
||||
verbose_name = 'Pratique professionnelle'
|
||||
|
|
@ -200,7 +200,7 @@ class Migration(migrations.Migration):
|
|||
],
|
||||
options={
|
||||
'verbose_name': 'Pratique professionnelle',
|
||||
'verbose_name_plural': 'Pratiques professionnelles',
|
||||
'verbose_name_plural': 'Pratique professionnelle',
|
||||
'ordering': ('-availability__period',),
|
||||
},
|
||||
),
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ class Migration(migrations.Migration):
|
|||
],
|
||||
options={
|
||||
'verbose_name': 'Motif de carnet du lait',
|
||||
'verbose_name_plural': 'Motifs de carnet du lait',
|
||||
},
|
||||
),
|
||||
migrations.AddField(
|
||||
|
|
|
|||
|
|
@ -218,6 +218,7 @@ class LogBookReason(models.Model):
|
|||
|
||||
class Meta:
|
||||
verbose_name = 'Motif de carnet du lait'
|
||||
verbose_name_plural = 'Motifs de carnet du lait'
|
||||
|
||||
|
||||
class LogBook(models.Model):
|
||||
|
|
@ -564,7 +565,7 @@ class Training(models.Model):
|
|||
|
||||
class Meta:
|
||||
verbose_name = "Pratique professionnelle"
|
||||
verbose_name_plural = "Pratiques professionnelles"
|
||||
verbose_name_plural = "Pratique professionnelle"
|
||||
ordering = ("-availability__period",)
|
||||
|
||||
def __str__(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue