Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix the indentation
  • Loading branch information
dulacp committed Oct 16, 2015
commit 2cc3b417fae33cdd2f9c8ccbd00e22651a0c09ee
2 changes: 1 addition & 1 deletion rest_framework/utils/model_meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
]

Expand Down