#36077 closed Cleanup/optimization (fixed)
Incorrect mention of falsey primary key values in save() documentation
Reported by: | Jacob Walls | Owned by: | Jacob Walls |
---|---|---|---|
Component: | Documentation | Version: | 5.1 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
This sentence in the description of save()
is outdated since c2ba59fc1da5287d6286e2c2aca4083d5bafe056. We only consider a pk set if it's not None, as opposed to the empty string (before that commit) nor other falsey values like 0 (since forever, AFAICT).
Found during PR discussion
Change History (3)
comment:1 by , 4 weeks ago
Triage Stage: | Unreviewed → Ready for checkin |
---|
comment:2 by , 4 weeks ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
In d66137b3: