From cc5aa809e2519366e9df6581e5990ac4b41b0e24 Mon Sep 17 00:00:00 2001 From: Simon Charette Date: Fri, 21 Nov 2014 15:58:53 -0500 Subject: [PATCH] [1.7.x] Fixed typo in forms/models.py comment. Backport of a7c3d0f288a66d327e71476e9a9bfcc791602b8c from master --- django/forms/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()