mirror of https://github.com/apache/superset.git
Link to database-urls in databaseadd view (#1480)
This commit is contained in:
parent
0c221a28d1
commit
55668ca621
|
@ -503,10 +503,12 @@ class DatabaseView(CaravelModelView, DeleteMixin): # noqa
|
||||||
edit_template = "caravel/models/database/edit.html"
|
edit_template = "caravel/models/database/edit.html"
|
||||||
base_order = ('changed_on', 'desc')
|
base_order = ('changed_on', 'desc')
|
||||||
description_columns = {
|
description_columns = {
|
||||||
'sqlalchemy_uri': (
|
'sqlalchemy_uri': utils.markdown(
|
||||||
"Refer to the SqlAlchemy docs for more information on how "
|
"Refer to the "
|
||||||
"to structure your URI here: "
|
"[SqlAlchemy docs]"
|
||||||
"http://docs.sqlalchemy.org/en/rel_1_0/core/engines.html"),
|
"(http://docs.sqlalchemy.org/en/rel_1_0/core/engines.html#"
|
||||||
|
"database-urls) "
|
||||||
|
"for more information on how to structure your URI.", True),
|
||||||
'expose_in_sqllab': _("Expose this DB in SQL Lab"),
|
'expose_in_sqllab': _("Expose this DB in SQL Lab"),
|
||||||
'allow_run_sync': _(
|
'allow_run_sync': _(
|
||||||
"Allow users to run synchronous queries, this is the default "
|
"Allow users to run synchronous queries, this is the default "
|
||||||
|
|
Loading…
Reference in New Issue