I'm currently using a the pre_save django signals and it works fine when calling the save method on a model. How do I write an update signal to a model? Django doesn't seem to have an update signal built-in.
+1
A:
Both creates and updates are considered saves, so they use the same signals.
Ignacio Vazquez-Abrams
2010-06-17 19:27:27
That's strange, I'm calling update() and the pre_save signal is not being triggered.
Thierry Lam
2010-06-17 19:28:04
`QuerySet.update()`? That's why then. `QuerySet` does not usually emit signals, since its methods affect the database, not models.
Ignacio Vazquez-Abrams
2010-06-17 19:36:55