config: fix comment & import

This commit is contained in:
Mojib Wali
2022-03-10 09:31:15 +01:00
committed by GitHub
parent cc2c462057
commit 6c6138b682

View File

@@ -10,7 +10,7 @@
from os.path import abspath, dirname, join
from flask_babelex import gettext as _
from flask_babelex import lazy_gettext as _
INVENIO_CONFIG_TUGRAZ_SHIBBOLETH = False
"""Set True if SAML is configured"""
@@ -260,10 +260,15 @@ If the value is callable, its return value will be used for the field
(e.g. lambda/function for dynamic calculation of values).
"""
APP_RDM_DEPOSIT_FORM_AUTOCOMPLETE_NAMES = "search"
"""Enable autocompleting names search field for creators/contributors.
APP_RDM_DEPOSIT_FORM_AUTOCOMPLETE_NAMES = 'off'
"""Behavior for autocomplete names search field for creators/contributors.
(e,g, "searc_only" or "off")
Available options:
- ``search`` (default): Show search field and form always.
- ``search_only``: Only show search field. Form displayed after selection or
explicit "manual" entry.
- ``off``: Only show person form (no search field).
"""
SQLALCHEMY_ECHO = False