Skip to content

Commit

Permalink
fix: Update django dependency and add how to install information #13
Browse files Browse the repository at this point in the history
  • Loading branch information
Luferov Victor committed Feb 22, 2022
1 parent a925ae9 commit 9e15745
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@
[![CI](https://github.com/devind-team/graphene-django-filter/workflows/CI/badge.svg)](https://github.com/devind-team/graphene-django-filter/actions) [![PyPI version](https://badge.fury.io/py/graphene-django-filter.svg)](https://badge.fury.io/py/graphene-django-filter)

This package contains advanced filters for [graphene-django](https://github.com/graphql-python/graphene-django). The standard filtering feature in graphene-django relies on the [django-filter](https://github.com/carltongibson/django-filter) library and therefore provides the flat API without the ability to use logical operators such as `and`, `or` and `not`. This library makes the API nested and adds logical expressions by extension of the `DjangoFilterConnectionField` field and the `FilterSet` class.

# Install

```shell
# pip
pip install graphene-django-filter
# poetry
poetry add graphene-django-filter
```

# Requirements
* Python (3.6, 3.7, 3.8, 3.9, 3.10)
* Graphene-Django (2.15)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ classifiers = [

[tool.poetry.dependencies]
python = ">=3.6.2"
Django = "3.2"
Django = ">=3.2.12,<5.0.0"
graphene = "2.1.9"
graphene-django = "^2.15.0"
django-filter = "^21.1"
Expand Down

0 comments on commit 9e15745

Please sign in to comment.