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