Skip to content

Commit

Permalink
Adding some CRUD field descriptions to clarify things
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Jun 15, 2016
1 parent e29d71d commit a117498
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions caravel/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,14 @@ class SliceModelView(CaravelModelView, DeleteMixin): # noqa
"dashboard view. Supports "
"<a href='https://daringfireball.net/projects/markdown/'>"
"markdown</a>"),
'params': _(
"These parameters are generated dynamically when clicking "
"the save or overwrite button in the explore view. This JSON "
"object is exposed here for reference and for power users who may "
"want to alter specific parameters."),
'cache_timeout': _(
"Duration (in seconds) of the caching timeout for this slice."
),
}
base_filters = [['id', FilterSlice, lambda: []]]
label_columns = {
Expand Down Expand Up @@ -511,6 +519,12 @@ class DashboardModelView(CaravelModelView, DeleteMixin): # noqa
"in the dashboard view where changes are immediately "
"visible"),
'slug': _("To get a readable URL for your dashboard"),
'json_metadata': _(
"This JSON object is generated dynamically when clicking "
"the save or overwrite button in the dashboard view. It "
"is exposed here for reference and for power users who may "
"want to alter specific parameters."),
'owners': _("Owners is a list of users who can alter the dashboard."),
}
base_filters = [['slice', FilterDashboard, lambda: []]]
label_columns = {
Expand Down

0 comments on commit a117498

Please sign in to comment.