#33658: Undocumented argument `blank` for `forms.ModelChoiceField`
-----------------------------------------+------------------------
Reporter: Carsten Fuchs | Owner: nobody
Type: Uncategorized | Status: new
Component: Documentation | Version: 4.0
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
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
[https://docs.djangoproject.com/en/4.0/ref/forms/fields/#modelchoicefield
currently not documented].
--
Ticket URL: <https://code.djangoproject.com/ticket/33658>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018057a12fa2-43f966e8-df71-41e7-93db-e8fd1e4db328-000000%40eu-central-1.amazonses.com.