talpor / django-dashing

django-dashing is a customisable, modular dashboard application framework for Django to visualize interesting data about your project. Inspired in the dashboard framework Dashing
BSD 3-Clause "New" or "Revised" License
731 stars 108 forks source link

Add value to Knob Widget #62

Closed rvernica closed 8 years ago

rvernica commented 8 years ago

The Knob Widget requires a value in scope. One could override get_context and provide a value, but, similar to other widgets, it is better to have a value field and get_value member. This way get_context can use them and the user just has to override get_value. This patch adds the value field and get_value member.

mtdb commented 8 years ago

Is true, good observation, thanks for the contributions :)