Adds filters for Django-specific features.
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file phx-filters-django-2.0.0.tar.gz
.
File metadata
- Download URL: phx-filters-django-2.0.0.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94a62dd51cb481f6a316dd19d8a6b6fc3ee8ceddb75389270ed49092d66b9e86 |
|
MD5 | af4ffe3352ab7a879c75b50dcb2e1800 |
|
BLAKE2b-256 | bcbfa718967b809bb2b0369314f4145746e96165f814b24f7be146a23a7e3a5a |
File details
Details for the file phx_filters_django-2.0.0-py3-none-any.whl
.
File metadata
- Download URL: phx_filters_django-2.0.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b469704a77dbb49f65961924a7603b95f3d7c0c78df97406207662c62c7a20ef |
|
MD5 | 21b8d30b77ecf3a89926db428d0cf231 |
|
BLAKE2b-256 | 7672fe346d0e9b73803ddebfc803ed42bf2c2208ee88441ad4881cfd8fa688e6 |