1
0
mirror of https://github.com/django/django.git synced 2025-04-19 23:04:36 +00:00

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

Backport of a7c3d0f288a66d327e71476e9a9bfcc791602b8c 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

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