Django-advanced-filters

Latest version: v2.0.0

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

Scan your dependencies

Page 3 of 3

1.0.1

------------------------

Bugs
~~~~

- proper support for py26 and py3X and different Django releases
- avoid querying all instances for choices
- resolve settings inside view and refine error handling

Tests
~~~~~

- add doctests to the ``form_helpers``
- add tests for ``forms``
- add test case ``views.TestGetFieldChoicesView``
- setup.py/travis: add ``test-reqs.txt`` as extras\_require
- refactor testing to use ``py.test`` and run ``tox`` from ``setup.py``
- travis: use latest version of each Django release

Docs:
~~~~~

- ``README``: explain what we test against

1.0

-------------------

Major changes
~~~~~~~~~~~~~

- Add a new (required) field
AdvancedFilter.model`` <https://raw.githubusercontent.com/modlinltd/django-advanced-filters/develop/README.rst#model-correlation>`__
- Add parsing query dict into initialized formsets (allows for `editing
existing
instance <https://raw.githubusercontent.com/modlinltd/django-advanced-filters/develop/README.rst#editing-previously-created-advanced-filters>`__).
- Add
AdvancedFilterAdmin`` <editing-previously-created-advanced-filters>`__
for actually accessing and `editing existing ``AdvancedFilter``
instances <https://raw.githubusercontent.com/modlinltd/django-advanced-filters/develop/README.rst#editing-previously-created-advanced-filters>`__.
- Use `Select2 <https://github.com/asyncee/django-easy-select2>`__ and
an AJAX view to dynamically populate field``
options <https://raw.githubusercontent.com/modlinltd/django-advanced-filters/develop/README.rst#fields>`__.
- Add proper support for nested serialization of queries.

Minor changes
~~~~~~~~~~~~~

- Implement more operators`` <https://raw.githubusercontent.com/modlinltd/django-advanced-filters/develop/README.rst#operators>`__ (``isnull``,
``istrue`` and ``isfalse``)
- Allow `custom verbose naming of fields in
advanced\_filter\_fields <https://raw.githubusercontent.com/modlinltd/django-advanced-filters/develop/README.rst#custom-naming-of-fields>`__
- Add helper methods to the model to hide (and decouple) core
serialization functionality from users.
- Strip whitespace in field values validation
- Setup and packaging (``setup.py``/``MANIFEST.in``)
- Hide ``QSerializer`` calling logic in the model
- Allow modifying ``advanced_filter_form`` property (defaults to
``AdvancedFilterForm``)
- Correct documentation regarding position of mixin in subclass (issue
1)

Page 3 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.