Ticket #7212: save_base.alters_data.diff

File save_base.alters_data.diff, 523 bytes (added by Gulopine, 7 years ago)

Added alter_data to Model.save_base()

  • django/db/models/base.py

     
    339339            dispatcher.send(signal=signals.post_save, sender=self.__class__,
    340340                    instance=self, created=(not record_exists), raw=raw)
    341341
     342    save_base.alters_data = True
     343
    342344    def validate(self):
    343345        """
    344346        First coerces all fields on this instance to their proper Python types.
Back to Top