mirror of
https://github.com/django/django.git
synced 2025-04-05 14:06:42 +00:00
Fixed typo in django/db/models/options.py.
This commit is contained in:
parent
a245604277
commit
3ee90747c8
@ -534,7 +534,7 @@ class Options:
|
||||
# For legacy reasons, the fields property should only contain forward
|
||||
# fields that are not private or with a m2m cardinality. Therefore we
|
||||
# pass these three filters as filters to the generator.
|
||||
# The third lambda is a longwinded way of checking f.related_model - we don't
|
||||
# The third filter is a longwinded way of checking f.related_model - we don't
|
||||
# use that property directly because related_model is a cached property,
|
||||
# and all the models may not have been loaded yet; we don't want to cache
|
||||
# the string reference to the related_model.
|
||||
|
Loading…
x
Reference in New Issue
Block a user