Skip to main content

Adds filters for Django-specific features.

Project description

https://travis-ci.org/todofixthis/filters-django.svg?branch=master https://readthedocs.org/projects/filters/badge/?version=latest

Django Filters

Adds filters for for Django-specific features, including:

  • Search for a DB model instance matching the incoming value.

Minimum Requirements

These filters are compatible with Django v2.x.

If you encounter any issues, please report them on our Bug Tracker, and be sure to indicate which version of Django you are using.

Installation

This package is an extension for the Filters library, so you can install it as an extra to phx-filters:

pip install phx-filters[django]

If desired, you can install this package separately. This allows you to control the package version separately from phx-filters.

pip install phx-filters-django

Running Unit Tests

To run unit tests after installing from source:

pip install -e .[test-runner]
python manage.py test

This project is also compatible with tox, which will run the unit tests in different virtual environments (one for each supported version of Python).

Install the package with the test-runner extra to set up the necessary dependencies, and then you can run the tests with the tox command:

pip install -e .[test-runner]
tox -p all

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

phx-filters-django-2.0.0.tar.gz (6.3 kB view hashes)

Uploaded Source

Built Distribution

phx_filters_django-2.0.0-py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page