Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Question] Installing django-filter with Poetry #972

Unanswered
davidvalaz asked this question in Q&A
Discussion options

I see in the readme we're told to install django-filter with the following command:

pip install djangorestframework-jsonapi['django-filter']

I am using Poetry and this command doesn't work. Can I just use the following instead?

poetry add django-filter
You must be logged in to vote

Replies: 1 comment

Comment options

This seems to have been fixed in poetry version 1.1.3 with python-poetry/poetry#3129 so poetry supports extra_requires as well.

But of course if it does not work you can also install the django-filter dependency manually as well:

poetry add djangorestframework-jsonapi
poetry add django-filter
You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
Converted from issue

This discussion was converted from issue #971 on September 03, 2021 05:38.

AltStyle によって変換されたページ (->オリジナル) /