Fixed #7212 -- Added `alters_data` attribute to `Model.save_base` method, thanks Gulopine.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7526 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Gary Wilson Jr 2008-05-13 14:56:47 +00:00
parent 41635d2176
commit d78e61e8bb
1 changed files with 2 additions and 0 deletions

View File

@ -339,6 +339,8 @@ class Model(object):
dispatcher.send(signal=signals.post_save, sender=self.__class__,
instance=self, created=(not record_exists), raw=raw)
save_base.alters_data = True
def validate(self):
"""
First coerces all fields on this instance to their proper Python types.