Skip to content

DRP 0.3.2

Compare
Choose a tag to compare
@sheppard sheppard released this 20 Apr 14:26

This release is just to verify compatiblity with Django 1.8 and pandas 0.16.0. Older versions should still work, though note that Django 1.6 is no longer being tested against.

The only actual code change is 5faa4ec, which switches the JSON renderer from a default of orient="index" to orient="records" to get around a breaking test because it's a more reasonable default. You can restore the old behavior by subclassing PandasJSONRenderer and overriding get_pandas_kwargs(), but:

  1. As is noted in the README, the CSV renderer is the one you probably want to be using anyway. You can use wq/pandas.js to convert CSV to JSON after you've loaded it on the client.
  2. If you really want JSON output, you're probably already using the vanilla DRF JSONRenderer anyway.