Opened 38 hours ago
Last modified 38 hours ago
#36237 closed Uncategorized
Mention in the docs that save and create are not always equal. — at Initial Version
Reported by: | Matthias Arras | Owned by: | |
---|---|---|---|
Component: | Documentation | Version: | 5.1 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
https://docs.djangoproject.com/en/5.1/ref/models/querysets/#create
Explicitly states that "save" and "create" are equal, but if you have signals (post-save or pre-save), that is no longer true. Maybe a reference to signals there might be helpful. At least in my mind, equivalent suggestes unconditional equivalency at all times.
Note:
See TracTickets
for help on using tickets.