Skip to content

Commit

Permalink
Fixed typo in forms/models.py comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
charettes authored and timgraham committed Nov 21, 2014
1 parent 0672696 commit a7c3d0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/forms/models.py
Expand Up @@ -573,7 +573,7 @@ def _existing_object(self, pk):
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()
Expand Down

0 comments on commit a7c3d0f

Please sign in to comment.