summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--django/db/models/base.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/django/db/models/base.py b/django/db/models/base.py
index 58816d5647..0e1587c033 100644
--- a/django/db/models/base.py
+++ b/django/db/models/base.py
@@ -757,7 +757,6 @@ class Model(object):
if f.name in exclude:
continue
try:
- # TODO: is the [sg]etattr correct?
setattr(self, f.attname, f.clean(getattr(self, f.attname), self))
except ValidationError, e:
errors[f.name] = e.messages