Skip to content

Commit

Permalink
Link to database-urls in databaseadd view (apache#1480)
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkkelly authored and mistercrunch committed Nov 9, 2016
1 parent 0c221a2 commit 55668ca
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions caravel/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,10 +503,12 @@ class DatabaseView(CaravelModelView, DeleteMixin): # noqa
edit_template = "caravel/models/database/edit.html"
base_order = ('changed_on', 'desc')
description_columns = {
'sqlalchemy_uri': (
"Refer to the SqlAlchemy docs for more information on how "
"to structure your URI here: "
"http://docs.sqlalchemy.org/en/rel_1_0/core/engines.html"),
'sqlalchemy_uri': utils.markdown(
"Refer to the "
"[SqlAlchemy docs]"
"(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"),
'allow_run_sync': _(
"Allow users to run synchronous queries, this is the default "
Expand Down

0 comments on commit 55668ca

Please sign in to comment.