Skip to content

Commit 954277f

Browse files
authored
Merge pull request #14 from devind-team/luferov/dependency
fix: Update django dependency and add how to install information #13
2 parents a925ae9 + 9e15745 commit 954277f

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22
[![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)
33

44
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.
5+
6+
# Install
7+
8+
```shell
9+
# pip
10+
pip install graphene-django-filter
11+
# poetry
12+
poetry add graphene-django-filter
13+
```
14+
515
# Requirements
616
* Python (3.6, 3.7, 3.8, 3.9, 3.10)
717
* Graphene-Django (2.15)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ classifiers = [
1717

1818
[tool.poetry.dependencies]
1919
python = ">=3.6.2"
20-
Django = "3.2"
20+
Django = ">=3.2.12,<5.0.0"
2121
graphene = "2.1.9"
2222
graphene-django = "^2.15.0"
2323
django-filter = "^21.1"

0 commit comments

Comments
 (0)