-
Notifications
You must be signed in to change notification settings - Fork 108
Django Dashing 0.2 release notes
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
- Add data binding + templating solution provided by Rivets.js
- Add permission classes for dashboard view. See settings documentation
- Allow the loading of external widgets from Django Dashing Channel
Changes the format of the expected data from [{'Some Label': 'value'}, ...]
to [{label: 'Some Label', value: 'value'}, ...]
Changes the name of the label from change_rate to detail
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
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)
- 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',)