We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afec960 commit 7a76553Copy full SHA for 7a76553
graphene_django/utils.py
@@ -33,7 +33,7 @@ def get_reverse_fields(model):
33
yield (name, new_related)
34
elif isinstance(related, models.ManyToOneRel):
35
yield (name, related)
36
- elif isinstance(related, models.ManyToManyRel) and not related.symmetrical:
+ elif isinstance(related, models.ManyToManyRel) and attr.reverse and not related.symmetrical:
37
38
39
0 commit comments