summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Mispelon <bmispelon@gmail.com>2014-08-02 15:14:13 +0200
committerBaptiste Mispelon <bmispelon@gmail.com>2014-08-02 15:14:13 +0200
commitde0a22be35bbe6f23d826bcc9aa27756ffe59e8c (patch)
tree3e1bc143c8d78e8ea928440985d0591f7e1f0440
parente075d2e66baae98c5b5c06bff384665ab50e0223 (diff)
Fixed two typos in docstrings.
-rw-r--r--django/forms/forms.py2
-rw-r--r--django/utils/ipv6.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/django/forms/forms.py b/django/forms/forms.py
index e448c69807..4dd4acba01 100644
--- a/django/forms/forms.py
+++ b/django/forms/forms.py
@@ -403,7 +403,7 @@ class BaseForm(object):
def clean(self):
"""
- Hook for doing any extra form-wide cleaning after Field.clean() been
+ Hook for doing any extra form-wide cleaning after Field.clean() has been
called on every field. Any ValidationError raised by this method will
not be associated with a particular field; it will have a special-case
association with the field named '__all__'.
diff --git a/django/utils/ipv6.py b/django/utils/ipv6.py
index 02e3b7208c..ae179c0397 100644
--- a/django/utils/ipv6.py
+++ b/django/utils/ipv6.py
@@ -21,7 +21,7 @@ def clean_ipv6_address(ip_str, unpack_ipv4=False,
ip_str: A valid IPv6 address.
unpack_ipv4: if an IPv4-mapped address is found,
return the plain IPv4 address (default=False).
- error_message: A error message for in the ValidationError.
+ error_message: An error message used in the ValidationError.
Returns:
A compressed IPv6 address, or the same value