From 16387552c18c9c49d0a8ec16e5fd5c1be4147025 Mon Sep 17 00:00:00 2001 From: Joseph Kocherhans Date: Mon, 27 Feb 2006 18:29:31 +0000 Subject: [PATCH] magic-removal: wrong signal sent after save. git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2412 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/db/models/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/db/models/base.py b/django/db/models/base.py index aa2591511a..b9e1faf593 100644 --- a/django/db/models/base.py +++ b/django/db/models/base.py @@ -176,7 +176,7 @@ class Model(object): connection.commit() # Run any post-save hooks. - dispatcher.send(signal=signals.pre_save, sender=self.__class__, instance=self) + dispatcher.send(signal=signals.post_save, sender=self.__class__, instance=self) save.alters_data = True