diff options
| author | Clifford Gama <53076065+cliff688@users.noreply.github.com> | 2025-04-01 19:07:04 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-01 14:07:04 -0300 |
| commit | 3ee90747c8ea703ca6e1811966261a1fc8caedb8 (patch) | |
| tree | 6ae16880f390ee77f4ca68c3b16ef80bbaa6302a | |
| parent | a245604277eb9edeba234dacf199890766462709 (diff) | |
Fixed typo in django/db/models/options.py.
| -rw-r--r-- | django/db/models/options.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/models/options.py b/django/db/models/options.py index 11b2742f7d..296309236f 100644 --- a/django/db/models/options.py +++ b/django/db/models/options.py @@ -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. |
