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_files/models.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'archaeological_files') diff --git a/archaeological_files/models.py b/archaeological_files/models.py index 427d673d3..23aea5b39 100644 --- a/archaeological_files/models.py +++ b/archaeological_files/models.py @@ -361,8 +361,10 @@ class File(ClosedItem, DocumentItem, BaseHistorizedItem, CompleteIdentifierItem, Document, related_name="files", verbose_name=_(u"Documents"), blank=True) - cached_label = models.TextField(_(u"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"), + ) imported_line = models.TextField(_(u"Imported line"), null=True, blank=True) history = HistoricalRecords(bases=[HistoryModel]) -- cgit v1.2.3