summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--django/forms/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/forms/models.py b/django/forms/models.py
index 16cc459175..0f1f54f850 100644
--- a/django/forms/models.py
+++ b/django/forms/models.py
@@ -569,7 +569,7 @@ class BaseModelFormSet(BaseFormSet):
def _get_to_python(self, field):
"""
If the field is a related field, fetch the concrete field's (that
- is, the ultimate pointed-to field's) get_prep_value.
+ is, the ultimate pointed-to field's) to_python.
"""
while field.rel is not None:
field = field.rel.get_related_field()