From 3ee90747c8ea703ca6e1811966261a1fc8caedb8 Mon Sep 17 00:00:00 2001 From: Clifford Gama <53076065+cliff688@users.noreply.github.com> Date: Tue, 1 Apr 2025 19:07:04 +0200 Subject: [PATCH] Fixed typo in django/db/models/options.py. --- django/db/models/options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.