Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

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.

Files for phx-filters-django, version 2.0.0
Filename, size File type Python version Upload date Hashes
Filename, size phx_filters_django-2.0.0-py3-none-any.whl (4.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size phx-filters-django-2.0.0.tar.gz (6.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page