mirror of
https://github.com/django/django.git
synced 2025-03-11 01:42:35 +00:00
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:
parent
41635d2176
commit
d78e61e8bb
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user