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

0.3.0

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

* Added plain objects filtering support.
More in `docs <https://django-url-filter.readthedocs.io/en/latest/usage.html#plain-filtering>`_
and GitHub issue `8 <https://github.com/miki725/django-url-filter/issues/8>`_.
* Added `CallableFilter <https://django-url-filter.readthedocs.io/en/latest/api/url_filter.filters.html#url_filter.filters.CallableFilter>`_ which allows to implement custom filters.
* Normalizing to DRF's ``ValidationError`` when using ``StrictMode.Fail``
since filterset raises Django's ``ValidationError`` which caused 500 status code.
* Fixes ``ModelFilterSet`` automatic introspection to ignore ``GenericForeignKey``
since they dont have form fields associated with them.
See `20 <https://github.com/miki725/django-url-filter/issues/20>`_.
* Releasing with `wheels <http://pythonwheels.com/>`_.

0.2.0

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

* Added `SQLAlchemy <http://www.sqlalchemy.org/>`_ support.
* ``FilterSet`` instances have much more useful ``__repr__`` which
shows all filters at a glance. For example::

>>> PlaceFilterSet()
PlaceFilterSet()
address = Filter(form_field=CharField, lookups=ALL, default_lookup="exact", is_default=False)
id = Filter(form_field=IntegerField, lookups=ALL, default_lookup="exact", is_default=True)
name = Filter(form_field=CharField, lookups=ALL, default_lookup="exact", is_default=False)
restaurant = RestaurantFilterSet()
serves_hot_dogs = Filter(form_field=BooleanField, lookups=ALL, default_lookup="exact", is_default=False)
serves_pizza = Filter(form_field=BooleanField, lookups=ALL, default_lookup="exact", is_default=False)
waiter = WaiterFilterSet()
id = Filter(form_field=IntegerField, lookups=ALL, default_lookup="exact", is_default=True)
name = Filter(form_field=CharField, lookups=ALL, default_lookup="exact", is_default=False)

0.1.1

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

* Fixed installation issue where not all subpackages were installed.

0.1.0

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

* First release on PyPI.

Page 4 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.