From 8109708639238e5eb7a8be6c547a9b0f0a7976f0 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 2 Dec 2020 17:45:58 +0100 Subject: Docs: autogen value documentation --- archaeological_operations/models.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'archaeological_operations') 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') -- cgit v1.2.3