mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
52 lines
1.7 KiB
Python
52 lines
1.7 KiB
Python
# Generated by Django 3.1.7 on 2021-03-17 12:51
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
("documents", "1015_remove_null_characters"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name="savedview",
|
|
name="sort_field",
|
|
field=models.CharField(
|
|
blank=True, max_length=128, null=True, verbose_name="sort field"
|
|
),
|
|
),
|
|
migrations.AlterField(
|
|
model_name="savedviewfilterrule",
|
|
name="rule_type",
|
|
field=models.PositiveIntegerField(
|
|
choices=[
|
|
(0, "title contains"),
|
|
(1, "content contains"),
|
|
(2, "ASN is"),
|
|
(3, "correspondent is"),
|
|
(4, "document type is"),
|
|
(5, "is in inbox"),
|
|
(6, "has tag"),
|
|
(7, "has any tag"),
|
|
(8, "created before"),
|
|
(9, "created after"),
|
|
(10, "created year is"),
|
|
(11, "created month is"),
|
|
(12, "created day is"),
|
|
(13, "added before"),
|
|
(14, "added after"),
|
|
(15, "modified before"),
|
|
(16, "modified after"),
|
|
(17, "does not have tag"),
|
|
(18, "does not have ASN"),
|
|
(19, "title or content contains"),
|
|
(20, "fulltext query"),
|
|
(21, "more like this"),
|
|
],
|
|
verbose_name="rule type",
|
|
),
|
|
),
|
|
]
|