diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2020-12-02 17:45:58 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-02-28 12:15:22 +0100 |
commit | 8109708639238e5eb7a8be6c547a9b0f0a7976f0 (patch) | |
tree | ee022cb560a4b0e51935fedc2edbd0769ee79012 /ishtar_common/models.py | |
parent | 5be65ddbe992cad7951616fe2848e30433889cd3 (diff) | |
download | Ishtar-8109708639238e5eb7a8be6c547a9b0f0a7976f0.tar.bz2 Ishtar-8109708639238e5eb7a8be6c547a9b0f0a7976f0.zip |
Docs: autogen value documentation
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r-- | ishtar_common/models.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py index a67dcc6df..38e6a7d17 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -1917,8 +1917,10 @@ class Person(Address, Merge, OwnPerms, ValueGetter, MainItem): blank=True, null=True) salutation = models.CharField(_("Salutation"), max_length=200, blank=True, null=True) - surname = models.CharField(_("Surname"), max_length=50, blank=True, - null=True) + surname = models.CharField( + _("Surname"), max_length=50, blank=True, null=True, + help_text=_("Attention, historical and unfortunate residue in the " + "code of an initial translation error.")) name = models.CharField(_("Name"), max_length=200, blank=True, null=True) raw_name = models.CharField(_("Raw name"), max_length=300, blank=True, @@ -3006,6 +3008,7 @@ class Document(BaseHistorizedItem, CompleteIdentifierItem, OwnPerms, ImageModel, title = models.TextField(_("Title"), blank=True, default='') associated_file = models.FileField( + verbose_name=_("Associated file"), upload_to=get_image_path, blank=True, null=True, max_length=255, help_text=max_size_help()) index = models.IntegerField(verbose_name=_("Index"), blank=True, |