mirror of
https://github.com/Cian-H/invenio-config-iform.git
synced 2025-12-23 13:31:58 +00:00
config: fix comment & import
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
from os.path import abspath, dirname, join
|
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
|
INVENIO_CONFIG_TUGRAZ_SHIBBOLETH = False
|
||||||
"""Set True if SAML is configured"""
|
"""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).
|
(e.g. lambda/function for dynamic calculation of values).
|
||||||
"""
|
"""
|
||||||
|
|
||||||
APP_RDM_DEPOSIT_FORM_AUTOCOMPLETE_NAMES = "search"
|
APP_RDM_DEPOSIT_FORM_AUTOCOMPLETE_NAMES = 'off'
|
||||||
"""Enable autocompleting names search field for creators/contributors.
|
"""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
|
SQLALCHEMY_ECHO = False
|
||||||
|
|||||||
Reference in New Issue
Block a user