mirror of
https://github.com/django/django.git
synced 2025-09-27 04:29:17 +00:00
Fixed typo in forms/models.py comment.
This commit is contained in:
parent
06726965c3
commit
a7c3d0f288
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue