Skip to content

Commit 9f17ae8

Browse files
committed
fixup! feat: allow users to edit the document fulltext
1 parent e2ce335 commit 9f17ae8

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

app/general/migrations/0015_alter_document_document_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ class Migration(migrations.Migration):
1313
migrations.AlterField(
1414
model_name='document',
1515
name='document_data',
16-
field=models.TextField(blank=True, help_text="This is the document's full-text which users can search through. By default, this is extracted from the document's PDF (if exists), but it can also be edited.", verbose_name='Searchable content'),
16+
field=models.TextField(blank=True, help_text="The searchable text extracted from the document where possible, but it can also be edited.", verbose_name='Searchable content'),
1717
),
1818
]

app/general/models.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,7 @@ class Document(models.Model):
139139
blank=True,
140140
verbose_name=_("Searchable content"),
141141
help_text=_(
142-
"This is the document's full-text which users can search through. "
143-
"By default, this is extracted from the document's PDF (if exists), but it can also be edited."
142+
"The searchable text extracted from the document where possible, but it can also be edited."
144143
),
145144
)
146145
institution = models.ForeignKey(

0 commit comments

Comments
 (0)