summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
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
commit7bdb76c020a9be560504d546fcbe3a9020d494f2 (patch)
tree9b5aa1c1e963e5f8ae18de176af129be3f179917 /ishtar_common/models.py
parentf1401f57765c987b49748d8e95a95409db9545ee (diff)
downloadIshtar-7bdb76c020a9be560504d546fcbe3a9020d494f2.tar.bz2
Ishtar-7bdb76c020a9be560504d546fcbe3a9020d494f2.zip
Fix: gender type for title type
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py4
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: