diff options
| author | Paul McMillan <Paul@McMillan.ws> | 2010-08-09 22:11:28 +0000 |
|---|---|---|
| committer | Paul McMillan <Paul@McMillan.ws> | 2010-08-09 22:11:28 +0000 |
| commit | a2e30a41dd00baaa85f0162934327ff0e3dfce51 (patch) | |
| tree | a9a2cc7f7e2c31df860c8b0619c97f65a8273503 /django/db/models/base.py | |
| parent | 6c7baa96d84d33c8d02d8899f462255d805d695e (diff) | |
[soc2010/test-refactor] Merged back up to trunk
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/test-refactor@13566 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/db/models/base.py')
| -rw-r--r-- | django/db/models/base.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/django/db/models/base.py b/django/db/models/base.py index 6304e009d3..07fc501ea0 100644 --- a/django/db/models/base.py +++ b/django/db/models/base.py @@ -456,7 +456,7 @@ class Model(object): meta = cls._meta if origin and not meta.auto_created: - signals.pre_save.send(sender=origin, instance=self, raw=raw) + signals.pre_save.send(sender=origin, instance=self, raw=raw, using=using) # If we are in a raw save, save the object exactly as presented. # That means that we don't try to be smart about saving attributes @@ -540,7 +540,7 @@ class Model(object): # Signal that the save is complete if origin and not meta.auto_created: signals.post_save.send(sender=origin, instance=self, - created=(not record_exists), raw=raw) + created=(not record_exists), raw=raw, using=using) save_base.alters_data = True |
