Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 990 Bytes

configuration.rst

File metadata and controls

49 lines (31 loc) · 990 Bytes
.. index:: Configuration
.. index:: OCR_FILE_PREVIEW
.. index:: OCR_TESSERACT_LANG
.. index:: OCR_STORE_PDF
.. index:: OCR_FILES_UPLOAD_TO
.. index:: OCR_PDF_UPLOAD_TO
.. index:: OCR_FILES_TTL
.. index:: OCR_PDF_TTL
.. index:: OCR_TTL

Configuration

For changing your django_ocr_server behavior you can use several parameters in the settings.py of your django project.

.. index:: OCR_STORE_FILES

.. py:currentmodule:: django_ocr_server.default_settings

.. autodata:: OCR_STORE_FILES

.. autodata:: OCR_FILE_PREVIEW

.. autodata:: OCR_TESSERACT_LANG

.. autodata:: OCR_STORE_PDF

.. autodata:: OCR_STORE_FILES_DISABLED_LABEL

.. autodata:: OCR_STORE_PDF_DISABLED_LABEL

.. autodata:: OCR_FILE_REMOVED_LABEL

.. autodata:: OCR_PDF_REMOVED_LABEL

.. autodata:: OCR_ALLOWED_FILE_TYPES

.. autodata:: OCR_FILES_UPLOAD_TO

.. autodata:: OCR_PDF_UPLOAD_TO

Time to live settings

.. autodata:: OCR_FILES_TTL

.. autodata:: OCR_PDF_TTL

.. autodata:: OCR_TTL