#9471 closed New feature (fixed)
Documentation Admin classes with raw_id_fields
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Documentation | Version: | 1.0 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The Django documentation is very unclear on the raw_id_fields feature. Please, describe the feature better, and add a screenshot showing a sample table of raw_id_fields. Also, explain the magnifying glass chooser aspect.
Most importantly, the documentation seems to treat raw_id_fields like comma-separated lists of IDs; like 1,2,3; rather than one ID per field. Also, note that the user must input the primary key, and the admin coder has to show the user that key somehow.
There should be more about Inline admin classes as compared to model Admin classes and raw_id_fields. Also, describe more on ForeignKey, ManyToMany, and ManyToMany with through.
I have used raw_id_fields in an Inline admin class to add several ManyToMany items for the first time. My understanding of raw_id_fields is limited, and my suggestions above may be plain wrong.
Change History (7)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:3 by , 14 years ago
Severity: | → Normal |
---|---|
Type: | → New feature |
comment:6 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
There is no documentation of this feature. Better to write 'XXX TO DO'!