mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
fixes #290
This commit is contained in:
parent
ed5c50db7d
commit
fad6e7284a
@ -90,7 +90,6 @@ INSTALLED_APPS = [
|
|||||||
"documents.apps.DocumentsConfig",
|
"documents.apps.DocumentsConfig",
|
||||||
"paperless_tesseract.apps.PaperlessTesseractConfig",
|
"paperless_tesseract.apps.PaperlessTesseractConfig",
|
||||||
"paperless_text.apps.PaperlessTextConfig",
|
"paperless_text.apps.PaperlessTextConfig",
|
||||||
"paperless_tika.apps.PaperlessTikaConfig",
|
|
||||||
"paperless_mail.apps.PaperlessMailConfig",
|
"paperless_mail.apps.PaperlessMailConfig",
|
||||||
|
|
||||||
"django.contrib.admin",
|
"django.contrib.admin",
|
||||||
@ -461,6 +460,9 @@ PAPERLESS_TIKA_GOTENBERG_ENDPOINT = os.getenv(
|
|||||||
"PAPERLESS_TIKA_GOTENBERG_ENDPOINT", "http://localhost:3000"
|
"PAPERLESS_TIKA_GOTENBERG_ENDPOINT", "http://localhost:3000"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if PAPERLESS_TIKA_ENABLED:
|
||||||
|
INSTALLED_APPS.append("paperless_tika.apps.PaperlessTikaConfig")
|
||||||
|
|
||||||
# List dates that should be ignored when trying to parse date from document text
|
# List dates that should be ignored when trying to parse date from document text
|
||||||
IGNORE_DATES = set()
|
IGNORE_DATES = set()
|
||||||
for s in os.getenv("PAPERLESS_IGNORE_DATES", "").split(","):
|
for s in os.getenv("PAPERLESS_IGNORE_DATES", "").split(","):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user