Opened 17 years ago
Closed 17 years ago
#6186 closed (invalid)
New signal needed - post_create
Reported by: | italomaia | Owned by: | nobody |
---|---|---|---|
Component: | Uncategorized | Version: | dev |
Severity: | Keywords: | signals | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | UI/UX: |
Description
Well, i was thinking, if there is a post_delete signal, why not a post_create signal? Like, if someone wants something
to be executed when a model is created agains the database, and NOT when it is saved!
It would be very useful for counters, for example.
Note:
See TracTickets
for help on using tickets.
You can already do this (from source:/django/trunk/tests/modeltests/signals/models.py)