From ede5d4bb87c93492f30b009fe3397eb28e83627d Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Tue, 11 Jan 2022 16:23:50 +0100 Subject: [PATCH] Contact: make "special functions" attribute translatable --- mpicms/personal/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpicms/personal/models.py b/mpicms/personal/models.py index c78989f..9eb5967 100644 --- a/mpicms/personal/models.py +++ b/mpicms/personal/models.py @@ -129,7 +129,7 @@ class Contact(index.Indexed, ClusterableModel): _("priority"), blank=True, default=0, validators=[MaxValueValidator(999)], help_text=_("Priority from 0-999 to determine the sorting order.")) status = models.ForeignKey(Status, on_delete=models.SET_NULL, blank=True, null=True) - special_functions = models.ManyToManyField(SpecialFunction, blank=True) + special_functions = models.ManyToManyField(SpecialFunction, verbose_name=_('special functions'), blank=True) objects = ContactManager()