mirror of
https://github.com/django/django.git
synced 2025-03-24 08:10:45 +00:00
Fixed typo in forms/models.py comment.
This commit is contained in:
parent
06726965c3
commit
a7c3d0f288
@ -573,7 +573,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…
x
Reference in New Issue
Block a user