[1.7.x] Fixed typo in forms/models.py comment.

Backport of a7c3d0f288 from master
This commit is contained in:
Simon Charette 2014-11-21 15:58:53 -05:00 committed by Tim Graham
parent 4ea39230fc
commit cc5aa809e2
1 changed files with 1 additions and 1 deletions

View File

@ -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()