You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
DBTYPE = "postgres"
|
|
|
|
DBNAME = "{{ papermerge_db_name }}"
|
|
|
|
DBUSER = "{{ papermerge_db_user }}"
|
|
|
|
DBPASS = "{{ papermerge_db_pass }}"
|
|
|
|
DBHOST = "{{ papermerge_db_server }}"
|
|
|
|
DBPORT = "{{ papermerge_db_port }}"
|
|
|
|
MEDIA_DIR = "{{ papermerge_root_dir }}/data"
|
|
|
|
IMPORTER_DIR = "{{ papermerge_root_dir }}/input"
|
|
|
|
FILES_MIN_UNMODIFIED_DURATION = 10
|
|
|
|
OCR_DEFAULT_LANGUAGE = "{{ papermerge_ocr_default_lang }}"
|
|
|
|
LANGUAGE_FROM_AGENT = True
|
|
|
|
LANGUAGES = [
|
|
|
|
('de', 'Deutsch'),
|
|
|
|
('en', 'English'),
|
|
|
|
('fr', 'Français'),
|
|
|
|
]
|
|
|
|
TASK_QUEUE_DIR = "{{ papermerge_root_dir }}/tmp/queue"
|
|
|
|
OCR_LANGUAGES = {
|
|
|
|
"deu": "Deutsch",
|
|
|
|
"eng": "English",
|
|
|
|
"fra": "Français",
|
|
|
|
"spa": "Spanish",
|
|
|
|
"ita": "Italian"
|
|
|
|
}
|
|
|
|
|
|
|
|
METADATA_DATE_FORMATS = [
|
|
|
|
'yyyy-mm-dd',
|
|
|
|
'month'
|
|
|
|
]
|