From 8d40717a9226bef08d75766ab7e80b3b2e2179a6 Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Tue, 19 Jan 2016 00:06:23 -0800 Subject: [PATCH] Adding description for new field in crud --- panoramix/views.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/panoramix/views.py b/panoramix/views.py index c8ae20f2ffcc7..1354729d2a0e9 100644 --- a/panoramix/views.py +++ b/panoramix/views.py @@ -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 markdown"), + } appbuilder.add_view(