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 /archaeological_operations/models.py | |
parent | 5be65ddbe992cad7951616fe2848e30433889cd3 (diff) | |
download | Ishtar-8109708639238e5eb7a8be6c547a9b0f0a7976f0.tar.bz2 Ishtar-8109708639238e5eb7a8be6c547a9b0f0a7976f0.zip |
Docs: autogen value documentation
Diffstat (limited to 'archaeological_operations/models.py')
-rw-r--r-- | archaeological_operations/models.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index c690e5b3a..b2d7740a1 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -356,8 +356,10 @@ class ArchaeologicalSite(DocumentItem, BaseHistorizedItem, CompleteIdentifierIte Document, related_name='main_image_sites', on_delete=models.SET_NULL, verbose_name=_("Main image"), blank=True, null=True) - cached_label = models.TextField(_("Cached name"), - null=True, blank=True, db_index=True) + cached_label = models.TextField( + _("Cached name"), null=True, blank=True, db_index=True, + help_text=_("Generated automatically - do not edit") + ) cached_towns_label = models.TextField( _("Cached town label"), blank=True, null=True, help_text=_("Generated automatically - do not edit") @@ -1137,8 +1139,10 @@ class Operation(ClosedItem, DocumentItem, BaseHistorizedItem, Document, related_name='main_image_operations', on_delete=models.SET_NULL, verbose_name=_("Main image"), blank=True, null=True) - cached_label = models.CharField(_("Cached name"), max_length=500, - null=True, blank=True, db_index=True) + cached_label = models.CharField( + _("Cached name"), max_length=500, + help_text=_( "Generated automatically - do not edit"), + null=True, blank=True, db_index=True) archaeological_sites = models.ManyToManyField( ArchaeologicalSite, verbose_name=_("Archaeological sites"), blank=True, related_name='operations') |