Django-rest-url-filter

Latest version: v1.0.2

Safety actively analyzes 688215 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

0.3.12

~~~~~~~~~~~~~~~~~~~

* Adding support for ``FilterSet.Meta.fields == '__all__'`` which is useful in DRF integration.
See `39 <https://github.com/miki725/django-url-filter/pull/39>`_.

0.3.11

~~~~~~~~~~~~~~~~~~~

* Not modifying queryset in Django backend if no filters were applied.
See `73 <https://github.com/miki725/django-url-filter/pull/73>`_.

0.3.10

~~~~~~~~~~~~~~~~~~~

* Only running ``distinct`` on queryset when one of filters is on one-to-many relation.
This should help with performance.
See `26 <https://github.com/miki725/django-url-filter/issues/26>`_.

0.3.9

~~~~~~~~~~~~~~~~~~

* Adding ``iin`` form field overwrite for SQLAlchemy as otherwise by default
``iin`` lookup is not validated correctly.

0.3.8

~~~~~~~~~~~~~~~~~~

* Fixed ``SQLAlchemyFilterBackend`` by not joining nested models
when they are already eager loaded via ``query.options()``.

0.3.7

~~~~~~~~~~~~~~~~~~

* Added ``StrictModel.empty`` which is new default.
It returns empty queryset when any filter validations fail.
* Fixed ``in`` lookup. Previously if any of the items were invalid
whole filter would fail and depending on strict mode would
either return all results, no results or will raise exception.
Now in ``StrictMode.empty`` and ``StrictMode.drop`` any invalid
items are ignored which will filter results for valid items.
See `63 <https://github.com/miki725/django-url-filter/issues/64>`_.
* Added ability in ``ModelFilterSet`` to customize filter names
by providing ``extra_kwargs`` with field ``source``.
See `66 <https://github.com/miki725/django-url-filter/issues/66>`_.

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.