#21461: Add pre_update and post_update signals
-------------------------------------+-------------------------------------
Reporter: loic84 | Owner: loic84
Type: New feature | Status: assigned
Component: Database layer | Version: master
(models, ORM) | Resolution:
Severity: Normal | Triage Stage: Accepted
Keywords: | Needs documentation: 0
Has patch: 1 | Patch needs improvement: 0
Needs tests: 0 | UI/UX: 0
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Changes (by shai):
* cc: shai (added)
Comment:
Not sure about this, but from a short look at the code it seems like the
pk_set is calculated before the update. That makes perfect sense, but
breaks a little if the update changes pk values. I don't see any sensible
behavior around this, but it should probably be documented.
--
Ticket URL: <https://code.djangoproject.com/ticket/21461#comment:9>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/064.39de9e36b7b0134ff9e26ed325d27710%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.