Permalink
Commits on Jan 11, 2017
  1. Add labeled headers to csvs with no data (#58)

    CSVs with no data should still use header labels
    This change mirrors label behavior that occurs when there is data
    travisbloom committed with Jan 11, 2017
Commits on Nov 5, 2016
  1. 2.0.0

    committed Nov 5, 2016
  2. Add a simple example app

    committed Nov 5, 2016
  3. dependencies

    brandonrobertz committed with Feb 26, 2016
  4. cleanup

    brandonrobertz committed with Feb 26, 2016
  5. Modify tablize to properly stream data for the renderer

    From the `CSVRenderer.tablize` docstring:
    
    > If there is a header provided to tablize it will efficiently yield each
    > row as needed. If no header is provided, tablize will need to process
    > each row in the data in order to construct a complete header. Thus, if
    > you have a lot of data and want to stream it, you should probably
    > provide a header to the renderer (using the `header` attribute, or via
    > the `renderer_context`).
    
    Closes #16, closes #46
    committed Nov 5, 2016
  6. Update deprecation warning about writer_opts.

    Previously it only specifiec that writer_opts should be passed into the
    renderer_context instead of supplied as an argument to render. This is
    because, under normal circumstances, users won't be calling `render`
    directly. In the simple cases where you know you want to render the data
    as CSV, renderer_context may be the right place to add these options.
    However, if you want to provide renderings in several formats, not all
    renderers should receive writer_opts in renderer_context. In this case
    it would be more appropriate to create a custom CSVRenderer and set the
    writer_opts attribute.
    committed Nov 5, 2016
  7. Fixing documentation

    radialnash committed with Aug 24, 2016
  8. Fixing Header not getting applied bug

    This bug happens while using CSVStreamingRenderer
    radialnash committed with Aug 24, 2016
Commits on May 8, 2016
Commits on Jan 20, 2016
  1. 1.4.1

    committed Jan 20, 2016
  2. 1.4.0

    committed Jan 20, 2016
  3. Updates to labeling code

    - Use `header` instead of `headers`
    - Pass `labels` into tablize instead of relying on `self.labels`
    - Update tests to cover more cases with nested fields
    committed Jan 20, 2016
  4. Allow specifying CSVRenderer header through renderer_context

    - Rename CSVRenderer.headers to CSVRenderer.header
    - Add header argument to tablize method
    committed Jan 20, 2016
  5. Update Python and Django version support

    - Django 1.7-1.9
    - Python 2.7-3.5
    committed Jan 20, 2016