rhblind / django-gcharts

Provides a QuerySet, Manager and other tools for easy integration with the Google Visualization API
Other
41 stars 14 forks source link

Update __init__.py #9

Closed christian-prosser closed 10 years ago

christian-prosser commented 10 years ago

Added transform function parameter to all serialize methods. Enabling data transformation such as pivoting before creating the gviz_api.DataTable

rhblind commented 10 years ago

Hi. I'm sorry but I had to revert your pull request because it seemed not fully complete. Please fix these issues, and submit a new pull-request:

  1. Add transform=None as default argument to the manager so we can pass a transform function to the queryset.
  2. The call to transform function on line 405 differs from the rest; which is the correct one?
  3. Please use spaces instead of tabs ;)

Thanks