﻿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
19573	It is not possible to overwrite field label in AuthenticationForm	jan.munclinger@…	Nick Sandford	"If I inherit ""django.contrib.auth.forms.AuthenticationForm"" and specify my custom ""username"" field
{{{
username = forms.CharField(label=_(""Name""), max_length=75)
}}}
it ignores my label.

The reason is the last line of the init method, which set the label.
https://github.com/django/django/commit/70a0de37d132e5f1514fb939875f69649f103124#L10R164

There could be an if statement:
{{{
if not self.fields['username'].label:
    self.fields['username'].label = capfirst(self.username_field.verbose_name)
}}}
"	Cleanup/optimization	closed	contrib.auth	1.5-beta-1	Release blocker	fixed			Accepted	1	0	0	0	0	0
