diff options
| author | Honza Král <honza.kral@gmail.com> | 2009-07-19 20:55:34 +0000 |
|---|---|---|
| committer | Honza Král <honza.kral@gmail.com> | 2009-07-19 20:55:34 +0000 |
| commit | 021ad1a02433f194ecd7776aa0522a7cf3b0d9b8 (patch) | |
| tree | 1f915c146599f58238696b36b6dabdd614a682f0 | |
| parent | 70cf6d86fd7c91d5bf5da3da0d76736a1ec93596 (diff) | |
[soc2009/model-validation] Removed TODO - feeling more confident about the code
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/model-validation@11270 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/db/models/base.py | 1 |
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 |
