Graphene-django: filter_for_reverse_field has been removed in django-filter==2.0.0

Created on 1 Aug 2018  路  1Comment  路  Source: graphql-python/graphene-django

GrapheneFilterSetMixin should be updated properly for working with newer versions on django-filter

Most helpful comment

I have a fork that seems to work with Django >=2 and django_filter >=2. The change just amounts to removing the reference to filter_for_reverse_field since filter_for_field handles all cases now.

https://github.com/graphql-python/graphene-django/compare/master...jayhale:django-filter-2

Work needed for a PR:

  • [x] Update requirements to match Django >=1.11 and django-filter >=2
  • [x] Update requirements in examples
  • [x] Update docs

>All comments

I have a fork that seems to work with Django >=2 and django_filter >=2. The change just amounts to removing the reference to filter_for_reverse_field since filter_for_field handles all cases now.

https://github.com/graphql-python/graphene-django/compare/master...jayhale:django-filter-2

Work needed for a PR:

  • [x] Update requirements to match Django >=1.11 and django-filter >=2
  • [x] Update requirements in examples
  • [x] Update docs
Was this page helpful?
0 / 5 - 0 ratings

Related issues

StefanoSega picture StefanoSega  路  4Comments

timothyjlaurent picture timothyjlaurent  路  3Comments

x9sheikh picture x9sheikh  路  4Comments

khankuan picture khankuan  路  4Comments

ZuluPro picture ZuluPro  路  3Comments