areski / django-nvd3

Django wrapper for nvd3 - It's time for beautiful charts
Other
416 stars 124 forks source link

Fix issue #63 by properly ordering the inclusion of static files #64

Closed lgp171188 closed 8 years ago

lgp171188 commented 8 years ago

We include the static files by iterating over css_files_dirs.items() and js_files_dirs.items(). d3.js should always be included before nvd3.js. Use an OrderedDict instead of the normal dictionary to enforce the correct order.

areski commented 8 years ago

Thanks for the fix!