Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #7212 -- Added `alters_data` attribute to `Model.save_base` met…

…hod, thanks Gulopine.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit d78e61e8bb93ec9fc93071eefb3b449201e786ea 1 parent 41635d2
Gary Wilson Jr. gdub authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  django/db/models/
2  django/db/models/
@@ -339,6 +339,8 @@ def save_base(self, raw=False, cls=None):
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.
Please sign in to comment.
Something went wrong with that request. Please try again.