Reset related_name (was set to prevent duplicate)

This commit is contained in:
jonasc 2022-03-11 17:26:42 +01:00
parent 5ff304324d
commit 0de1230a1a
2 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,20 @@
# Generated by Django 3.2.12 on 2022-03-11 16:21
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("paperless_mail", "0011_remove_mailrule_assign_tag"),
]
operations = [
migrations.AlterField(
model_name="mailrule",
name="assign_tags",
field=models.ManyToManyField(
blank=True, to="documents.Tag", verbose_name="assign this tag"
),
),
]

View File

@ -172,7 +172,6 @@ class MailRule(models.Model):
assign_tags = models.ManyToManyField(
document_models.Tag,
blank=True,
related_name="mail_rules_multi",
verbose_name=_("assign this tag"),
)