diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2020-12-07 23:38:28 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-02-28 12:15:22 +0100 |
commit | 3cabe852ae1c568ac19837b16ad7b29bc9a4bd75 (patch) | |
tree | 9b5aa1c1e963e5f8ae18de176af129be3f179917 /ishtar_common/models.py | |
parent | ede8909f935ec2fec2763d2f2e8289bb2f2ecf8d (diff) | |
download | Ishtar-3cabe852ae1c568ac19837b16ad7b29bc9a4bd75.tar.bz2 Ishtar-3cabe852ae1c568ac19837b16ad7b29bc9a4bd75.zip |
Fix: gender type for title type
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r-- | ishtar_common/models.py | 4 |
1 files changed, 2 insertions, 2 deletions
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: |