From 7bdb76c020a9be560504d546fcbe3a9020d494f2 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 7 Dec 2020 23:38:28 +0100 Subject: Fix: gender type for title type --- ishtar_common/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ishtar_common/models.py') diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 0605a961c..ea3bd5ed1 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -1799,7 +1799,7 @@ class Organization(Address, Merge, OwnPerms, ValueGetter, MainItem): post_save.connect(cached_label_changed, sender=Organization) -class PersonType(GenderedType): +class PersonType(GeneralType): class Meta: verbose_name = _("Person type") verbose_name_plural = _("Person types") @@ -1862,7 +1862,7 @@ def get_publisher_label(): return _("Error: publisher type is missing") -class TitleType(GeneralType): +class TitleType(GenderedType): long_title = models.TextField(_("Long title"), default="", blank=True) class Meta: -- cgit v1.2.3