Commit d78e61e8 authored by Gary Wilson Jr's avatar Gary Wilson Jr
Browse files

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
parent 41635d21
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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.