Skip to content

Commit

Permalink
Contact: make "special functions" attribute translatable
Browse files Browse the repository at this point in the history
  • Loading branch information
donald committed Jan 11, 2022
1 parent dda848b commit 3554345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mpicms/personal/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 3554345

Please sign in to comment.