diff options
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 d51784b72..187df4126 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -256,7 +256,7 @@ def post_save_user(sender, **kwargs): post_save.connect(post_save_user, sender=User) -class ValueGetter(object): +class ValueGetter: _prefix = "" COL_LABELS = {} GET_VALUES_EXTRA = [] @@ -3234,7 +3234,7 @@ def text_format(text, text_format): return text_format -class BiographicalNote(models.Model): +class BiographicalNote(BaseHistorizedItem, ValueGetter, MainItem): denomination = models.TextField(_("Denomination")) last_name = models.TextField(_("Last name"), blank=True, default="") first_name = models.TextField(_("First name"), blank=True, default="") |