#20654 closed Bug (fixed)
Type mismatch in the docs for m2m_changed's pk_set argument
| Reported by: | Daniel Izquierdo | Owned by: | nobody |
|---|---|---|---|
| Component: | Documentation | Version: | 1.5 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | yes | UI/UX: | no |
Description
The docs state that m2m_changed's pk_set argument is a list of primary key values: https://docs.djangoproject.com/en/dev/ref/signals/
But it's actually a set. See: https://github.com/django/django/blob/master/django/db/models/fields/related.py
Pull request: https://github.com/django/django/pull/1302
Change History (3)
comment:1 by , 12 years ago
| Easy pickings: | set |
|---|---|
| Has patch: | set |
| Triage Stage: | Unreviewed → Ready for checkin |
| Type: | Uncategorized → Bug |
comment:2 by , 12 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In 9a2b07f1b45741da39a7606474aec3548780032b: