#33658 closed Cleanup/optimization (fixed)
Document the "blank" argument of forms.ModelChoiceField.
Reported by: | Carsten Fuchs | Owned by: | Alokik Roy |
---|---|---|---|
Component: | Documentation | Version: | 4.0 |
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
After #26813 and da79ee472d803963dc3ea81ee67767dc06068aac, using a RadioSelect
with a forms.ModelChoiceField
requires blank=True
in order to have the RadioSelect
include an empty option. Also see #32434 for a related issue.
However, the argument blank
is currently not documented.
Change History (9)
comment:1 by , 3 years ago
Easy pickings: | set |
---|---|
Summary: | Undocumented argument `blank` for `forms.ModelChoiceField` → Document the "blank" argument of forms.ModelChoiceField. |
Triage Stage: | Unreviewed → Accepted |
Type: | Uncategorized → Cleanup/optimization |
comment:2 by , 3 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:5 by , 3 years ago
Patch needs improvement: | set |
---|
comment:7 by , 3 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
Note:
See TracTickets
for help on using tickets.
Agreed. Would you like to prepare a patch?