Skip to content

Commit

Permalink
Adding description for new field in crud
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Jan 19, 2016
1 parent e40f5bc commit 8d40717
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions panoramix/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,9 @@ class SliceModelView(PanoramixModelView, DeleteMixin):
'slice_name', 'description', 'viz_type', 'druid_datasource',
'table', 'dashboards', 'params']
base_order = ('changed_on','desc')
description_columns = {
'description': Markup("The content here can be displayed as widget headers in the dashboard view. Supports <a href='https://daringfireball.net/projects/markdown/'>markdown</a>"),
}


appbuilder.add_view(
Expand Down

0 comments on commit 8d40717

Please sign in to comment.