﻿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
33093	Overriding default fields overrides Meta labels	Abhijeet Viswa	nobody	"Right of the bat, I'd like to say that I'm not sure if this is a proper bug or not. It felt like a bug, and it took some time to figure out what the issue was.

Here's a minimal example example:

{{{
class ExampleForm(forms.ModelForm):
    name = forms.CharField()

    class Meta:
        model = ExampleModel
        fields = ('name', )
        labels = {
                'name': 'Test Label',
        }
}}}

`ExampleForm().fields['name'].label` is None because `label` is not passed into the overriding field declaration. Ideally, the lack of a field attribute should result in label declared in `Meta.labels` being used instead of prettifying it using `capfirst`. Alternatively, this can be added to the documentation. "	Uncategorized	closed	Forms	dev	Normal	invalid			Unreviewed	0	0	0	0	0	1
