mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-08 14:24:48 +03:00
Fix the indentation
This commit is contained in:
parent
5a72847b76
commit
2cc3b417fa
|
@ -147,7 +147,7 @@ def _get_reverse_relationships(opts):
|
|||
# The backward implementation can be found in the Django Documentation
|
||||
# See: https://docs.djangoproject.com/en/1.9/ref/models/meta/#migrating-from-the-old-api
|
||||
all_related_to_many_objects = [
|
||||
f for f in opts.get_fields(include_hidden=True)
|
||||
f for f in opts.get_fields(include_hidden=True)
|
||||
if f.many_to_many and f.auto_created
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user