Skip to content

Commit

Permalink
make show columns explicit, don't show password column (#748)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alanna Scott committed Jul 12, 2016
1 parent 9d7c05a commit 18b8e6f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions caravel/views.py
Expand Up @@ -356,6 +356,17 @@ class DatabaseView(CaravelModelView, DeleteMixin): # noqa
'database_name', 'sqlalchemy_uri', 'cache_timeout', 'extra']
search_exclude_columns = ('password',)
edit_columns = add_columns
show_columns = [
'tables',
'cache_timeout',
'extra',
'database_name',
'sqlalchemy_uri',
'created_by',
'created_on',
'changed_by',
'changed_on'
]
add_template = "caravel/models/database/add.html"
edit_template = "caravel/models/database/edit.html"
base_order = ('changed_on', 'desc')
Expand Down

0 comments on commit 18b8e6f

Please sign in to comment.