Seconds part of translations in models
This commit is contained in:
@ -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'))
|
||||
|
||||
|
Reference in New Issue
Block a user