Skip to content

Commit 48ae9f0

Browse files
author
=
committed
rel -> remote_field: Update Django DeprecatedAttribute
1 parent 62c0694 commit 48ae9f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphene_django/filter/filterset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def filter_for_reverse_field(cls, f, name):
5757
Global IDs (the default implementation expects database
5858
primary keys)
5959
"""
60-
rel = f.field.rel
60+
rel = f.field.remote_field
6161
default = {
6262
'name': name,
6363
'label': capfirst(rel.related_name)

0 commit comments

Comments
 (0)