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 3 of 4

0.3.6

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

* Added support for ``extra_kwargs`` in ``ModelFilterSet.Meta``.
* Added ``CoreAPIURLFilterBackend`` which enables documented filters in swagger docs.
* Added ``iin`` lookup in plain and sqlalchemy backends.
* Fixing inconsistency between plain and Django ``week_day`` lookup.
Now both are consistent with ``1``-Monday and ``7``-Sunday.

0.3.5

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

* Django 2 support.
* Using `tox-travis <https://github.com/tox-dev/tox-travis>`_ for travis builds.
* Fixed negated queries in Django backend.
Previously negation did ``NOT (condition1 and condition2)`` vs expected
``NOT condition1 and NOT condition2``.
See `53 <https://github.com/miki725/django-url-filter/issues/53>`_.

0.3.4

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

* Py36 compatibility by switching to ``enum-compat`` from ``enum34``
* Improvement to ``README`` by including imports in code examples
* Defaulting ``SQLAlchemyModelFilterSet`` to use ``SQLAlchemyFilterBackend``
* Defaulting ``PlainModelFilterSet`` to use ``PlainFilterBackend``
* Using universal wheels for distribution

0.3.3

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

* Fixed bug which did not allow to use SQLAlchemy backend fully
without having ``django.contrib.contenttypes`` in installed apps.
See `36 <https://github.com/miki725/django-url-filter/issues/36>`_.
* Improved SQLAlchemy versions compatibility.
* Added ``URLFilterBackend`` alias in DRF integration for backend to reduce
confusion with ``DjangoFilterBackend`` as in url filter core backend.

0.3.2

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

* Fixed plain backend to return list in Python 3 vs ``filter()`` generator
which is not compatible with Django pagination since it requires ``len()``
to be implemented.

0.3.1

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

* Fixed bug where default filters were used in root filtersets.
As a result additional querystring parameters were validation which
broke other functionality such as pagination.

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.