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 5a72847 commit 2cc3b41Copy full SHA for 2cc3b41
rest_framework/utils/model_meta.py
@@ -147,7 +147,7 @@ def _get_reverse_relationships(opts):
147
# The backward implementation can be found in the Django Documentation
148
# See: https://docs.djangoproject.com/en/1.9/ref/models/meta/#migrating-from-the-old-api
149
all_related_to_many_objects = [
150
- f for f in opts.get_fields(include_hidden=True)
+ f for f in opts.get_fields(include_hidden=True)
151
if f.many_to_many and f.auto_created
152
]
153
0 commit comments