﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
21860	ModelChoiceField documentation doesn't include the `to_field_name` optional argument	Keryn Knight <django@…>	ANUBHAV JOSHI	"The current [https://docs.djangoproject.com/en/dev/ref/forms/fields/#modelchoicefield ModelChoiceField arguments documentation] doesn't cover the [https://github.com/django/django/blob/d818e0c9b2b88276cc499974f9eee893170bf0a8/django/forms/models.py#L1079 to_field_name] attribute for overriding which value is used by `prepare_value` and `to_python` methods in lieu of the pk.

Given the argument is technically part of the available public API, it should probably be documented."	Cleanup/optimization	closed	Documentation	dev	Normal	fixed		anubhav9042@…	Accepted	1	0	0	0	0	0
