Skip to content

0.3.1

Choose a tag to compare

@mpasternak mpasternak released this 31 May 21:10

Bugfix / follow-up release (everything merged since 0.3.0 — PRs #4 and #5).

  • New optional Datasource.sample_context field: example values for a query's template parameters, used to validate a parametrised query on save (both dsl and DjangoQL backends). Nullable; must be a JSON object.
  • Fix an admin 500 when clearing Sample parameters (sample_context is now nullable).
  • Don't HTML-escape DjangoQL query parameters — values with <, &, " are no longer corrupted (the django-dsl backend got the same fix in django-dsl 0.1.14).
  • Fix the except-catchall element lookup so the "everything except" table renders its rows instead of being silently empty.
  • Escape the datasource query shown in the admin changelist.
  • Chain ValidationError from the original backend error for clearer diagnostics.

PyPI: https://pypi.org/project/django-flexible-reports/0.3.1/