Opened 13 years ago
Closed 13 years ago
#17950 closed Cleanup/optimization (fixed)
Document that ModelChoiceField is only useful when the number of items is relatively small
Reported by: | Dan Poirier | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Stephen Muss | 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 response to ticket #15957 at https://code.djangoproject.com/ticket/15957#comment:1 says:
You shouldn't use ModelChoiceField for more than 1000 entries. Anyway, it becomes very quickly unusable beyond 100 entries.
It would be helpful if this were added to the ModelChoiceField documentation.
Attachments (1)
Change History (6)
comment:1 by , 13 years ago
Triage Stage: | Unreviewed → Accepted |
---|---|
Type: | Bug → Cleanup/optimization |
Version: | 1.3 → SVN |
comment:2 by , 13 years ago
Easy pickings: | set |
---|
by , 13 years ago
Attachment: | 17950.diff added |
---|
comment:3 by , 13 years ago
Cc: | added |
---|---|
Has patch: | set |
comment:4 by , 13 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
comment:5 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed #17950 -- Warned about usability limits of ModelChoiceField.
Thanks poirier for the report.
Changeset: 73f7d346997d9520ea672b4f311349d7ba8b9075
Note:
See TracTickets
for help on using tickets.
patch with documentation changes.