[1.7.x] Fixed typo in forms/models.py comment.
Backport of a7c3d0f288
from master
This commit is contained in:
parent
4ea39230fc
commit
cc5aa809e2
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue