mirror of
https://github.com/graphql-python/graphene-django.git
synced 2024-11-22 17:47:12 +03:00
rel -> remote_field: Update Django DeprecatedAttribute
This commit is contained in:
parent
24706f50d4
commit
d314d1041f
|
@ -57,7 +57,7 @@ class GrapheneFilterSetMixin(BaseFilterSet):
|
|||
Global IDs (the default implementation expects database
|
||||
primary keys)
|
||||
"""
|
||||
rel = f.field.rel
|
||||
rel = f.field.remote_field
|
||||
default = {
|
||||
'name': name,
|
||||
'label': capfirst(rel.related_name)
|
||||
|
|
Loading…
Reference in New Issue
Block a user