mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Reset related_name (was set to prevent duplicate)
This commit is contained in:
parent
5ff304324d
commit
0de1230a1a
@ -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"
|
||||
),
|
||||
),
|
||||
]
|
@ -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"),
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user