Skip to content

Django Dashing 0.2 release notes

Mauricio edited this page May 14, 2015 · 3 revisions

These release notes cover the new features, as well as some backwards incompatible changes you’ll want to be aware of when upgrading from Django Dashing 0.1.x

What’s new

Backwards-incompatible changes

List Widget

Changes the format of the expected data from [{'Some Label': 'value'}, ...] to [{label: 'Some Label', value: 'value'}, ...]

Number Widget

Changes the name of the label from change_rate to detail

Graph Widget

The method renderGraph was deleted, instead, now you can pass together with the data a xFormat, yFormat, beforeRender and afterRender functions. See graph widget documentation

All widgets

In your widgets config remove the <widget_name>/render publish call events and replace this.data = data (or equivalent) for $.extend(this.data, data) in getData methods (it's necessary for rivertsjs template system to work appropiatelly)

Other considerations

  • If you have a dashing/dashboard.html file in your project, remove widget static files loaded explicitally, you probably only need the config_file block
  • By dedault the permissions set in settings is ('dashing.permissions.AllowAll',)
Clone this wiki locally