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

options.require dependency issue #73

Closed nickburlett closed 7 years ago

nickburlett commented 7 years ago

The widget dependency loader is broken for cases where two one widget requires dependency ['a'] and another requires ['a', 'b'].

The issue is that the loadResource function deletes the name from the resources list after loading the first widget, causing the second widget to stop processing its list the moment it finds an unknown dependency ('b').