From 6b0d5d4cc8bbb7f651118907be9f349c319a07b2 Mon Sep 17 00:00:00 2001 From: Jonas Winkler Date: Mon, 2 Nov 2020 20:16:10 +0100 Subject: [PATCH] removed unused settings, migrations now match originals --- src/documents/migrations/0023_document_current_filename.py | 2 +- src/paperless/settings.py | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/documents/migrations/0023_document_current_filename.py b/src/documents/migrations/0023_document_current_filename.py index 4b9ddaede..be78ea863 100644 --- a/src/documents/migrations/0023_document_current_filename.py +++ b/src/documents/migrations/0023_document_current_filename.py @@ -33,5 +33,5 @@ class Migration(migrations.Migration): help_text='Current filename in storage', max_length=256), ), - migrations.RunPython(set_filename, migrations.RunPython.noop) + migrations.RunPython(set_filename) ] diff --git a/src/paperless/settings.py b/src/paperless/settings.py index 9cf102266..8f918eb4f 100644 --- a/src/paperless/settings.py +++ b/src/paperless/settings.py @@ -323,8 +323,3 @@ FILENAME_DATE_ORDER = os.getenv("PAPERLESS_FILENAME_DATE_ORDER") FILENAME_PARSE_TRANSFORMS = [] for t in json.loads(os.getenv("PAPERLESS_FILENAME_PARSE_TRANSFORMS", "[]")): FILENAME_PARSE_TRANSFORMS.append((re.compile(t["pattern"]), t["repl"])) - - -CELERY_TASK_TRACK_STARTED = True -CELERY_RESULT_BACKEND = 'db+sqlite:///results.sqlite' -CELERY_WORKER_PREFETCH_MULTIPLIER = 1