]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Fix: resolve migration warning in 2.19.2 (#11157)
authorshamoon <4887959+shamoon@users.noreply.github.com>
Thu, 23 Oct 2025 22:29:49 +0000 (15:29 -0700)
committerGitHub <noreply@github.com>
Thu, 23 Oct 2025 22:29:49 +0000 (15:29 -0700)
src/documents/migrations/1073_migrate_workflow_title_jinja.py

index 3f5689629e2e765fb859756ae12175e73c9fb385..c3f929eff98c765855565fa8978585b8c75b83d6 100644 (file)
@@ -35,15 +35,13 @@ class Migration(migrations.Migration):
 
     operations = [
         migrations.AlterField(
-            model_name="WorkflowAction",
+            model_name="workflowaction",
             name="assign_title",
             field=models.TextField(
-                null=True,
                 blank=True,
-                help_text=(
-                    "Assign a document title, can be a JINJA2 template, "
-                    "see documentation.",
-                ),
+                help_text="Assign a document title, must  be a Jinja2 template, see documentation.",
+                null=True,
+                verbose_name="assign title",
             ),
         ),
         migrations.RunPython(