mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
[1.7.x] Fixed typo in forms/models.py comment.
Backport of a7c3d0f288 from master
This commit is contained in:
committed by
Tim Graham
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()
|
||||
|
||||
Reference in New Issue
Block a user