From 021ad1a02433f194ecd7776aa0522a7cf3b0d9b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Honza=20Kr=C3=A1l?= Date: Sun, 19 Jul 2009 20:55:34 +0000 Subject: [PATCH] [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 --- django/db/models/base.py | 1 - 1 file changed, 1 deletion(-) 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