#26837: ModelMultipleChoiceField's documentation doesn't mention whether it
supports to_field_name
-------------------------------------+-------------------------------------
Reporter: bmispelon | Owner:
Type: | smarlowucf
Cleanup/optimization | Status: assigned
Component: Documentation | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by smarlowucf):
I looked into the tests for this ticket and noticed that the
`to_field_name` argument is covered for both `ModelMultipleChoiceField`
and `ModelChoiceField`.
https://github.com/django/django/blob/c9ae09addffb839403312131d4251e9d8b454508/tests/model_forms/tests.py#L2404
However, I noticed that the `empty_label` argument is not covered for
`ModelChoiceField`.
Is it okay to add a test for this argument as part of this ticket or
should a new ticket be created?
--
Ticket URL: <https://code.djangoproject.com/ticket/26837#comment:3>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.fdb66892958c8f98ed68f99476d7769a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.