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
This commit is contained in:
parent
dac1a68645
commit
16387552c1
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue