Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

…hod, thanks Gulopine.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7526 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit d78e61e8bb93ec9fc93071eefb3b449201e786ea 1 parent 41635d2
Gary Wilson Jr. authored May 13, 2008

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. 2  django/db/models/base.py
2  django/db/models/base.py
@@ -339,6 +339,8 @@ def save_base(self, raw=False, cls=None):
339 339
             dispatcher.send(signal=signals.post_save, sender=self.__class__,
340 340
                     instance=self, created=(not record_exists), raw=raw)
341 341
 
  342
+    save_base.alters_data = True
  343
+
342 344
     def validate(self):
343 345
         """
344 346
         First coerces all fields on this instance to their proper Python types.

0 notes on commit d78e61e

Please sign in to comment.
Something went wrong with that request. Please try again.