summaryrefslogtreecommitdiff
path: root/django/db/models/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/db/models/base.py')
-rw-r--r--django/db/models/base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/db/models/base.py b/django/db/models/base.py
index c83b0fd5b5..eace314fe8 100644
--- a/django/db/models/base.py
+++ b/django/db/models/base.py
@@ -644,7 +644,7 @@ class Model(object):
def validate(self):
"""
- Hook for doing any extra model-wide validation after Model.clean() been
+ Hook for doing any extra model-wide validation after 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__'.
@@ -785,7 +785,7 @@ class Model(object):
'field_label': unicode(field_labels)
}
- def clean(self, exclude=[]):
+ def full_validate(self, exclude=[]):
"""
Cleans all fields and raises ValidationError containing message_dict of
all validation errors if any occur.