Seconds part of translations in models

This commit is contained in:
2020-05-19 16:13:34 +02:00
parent 7c4ca62a2d
commit 65f3d73a47
5 changed files with 8 additions and 5 deletions

View File

@ -24,7 +24,7 @@ class Polyclinic(MetaDataModel):
verbose_name = _('polyclinic')
verbose_name_plural = _('polyclinics')
hospital = models.ForeignKey(Hospital, on_delete=models.CASCADE, help_text=_('To which hospital belongs this polyclinic'))
hospital = models.ForeignKey(Hospital, verbose_name=Hospital._meta.verbose_name, on_delete=models.CASCADE, help_text=_('To which hospital belongs this polyclinic'))
name = models.CharField(_('Name'), max_length=200, blank=True, help_text=_('The name of this polyclinic'))
phone = models.CharField(_('Phone number'), max_length=20, blank=True, help_text=_('The general/direct phone number of this polyclinic'))