summaryrefslogtreecommitdiff
path: root/django/db/models/base.py
diff options
context:
space:
mode:
authorPaul McMillan <Paul@McMillan.ws>2010-08-09 22:11:28 +0000
committerPaul McMillan <Paul@McMillan.ws>2010-08-09 22:11:28 +0000
commita2e30a41dd00baaa85f0162934327ff0e3dfce51 (patch)
treea9a2cc7f7e2c31df860c8b0619c97f65a8273503 /django/db/models/base.py
parent6c7baa96d84d33c8d02d8899f462255d805d695e (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.py4
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