Fix multilanguage

This commit is contained in:
2020-05-15 12:54:16 +02:00
parent 1c21979486
commit c1a8912f6d
24 changed files with 221 additions and 149 deletions

View File

@@ -8,8 +8,8 @@ from apps.hospital.models import Hospital
class Polyclinic(MetaDataModel):
class Meta:
verbose_name = _('Polyclinic')
verbose_name_plural = _('Polyclinics')
verbose_name = _('polyclinic')
verbose_name_plural = _('polyclinics')
hospital = models.ForeignKey(Hospital, 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'))