diff options
| author | Simon Charette <charette.s@gmail.com> | 2014-11-21 15:58:53 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-11-21 15:59:09 -0500 |
| commit | a7c3d0f288a66d327e71476e9a9bfcc791602b8c (patch) | |
| tree | 32244383b44b8cc1c770747d0a2952bdaf7b5423 | |
| parent | 06726965c3e53e9a6b87e1532951a93d5f94f426 (diff) | |
Fixed typo in forms/models.py comment.
| -rw-r--r-- | django/forms/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/forms/models.py b/django/forms/models.py index b560ee84a9..42c62d5770 100644 --- a/django/forms/models.py +++ b/django/forms/models.py @@ -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() |
