Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion graphene_django/filter/filterset.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def filter_for_reverse_field(cls, f, name):
Global IDs (the default implementation expects database
primary keys)
"""
rel = f.field.rel
rel = f.field.remote_field if hasattr(f.field, 'remote_field') else f.field.rel
default = {
'name': name,
'label': capfirst(rel.related_name)
Expand Down