﻿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
24956	Syntax Incorrect for Example of empty_label in SelectDateWidget Documentation	Ben Waters	nobody	"Under empty_label on https://docs.djangoproject.com/en/1.8/ref/forms/widgets/#selectdatewidget

There is the following code snippet as an example of using empty_label


{{{
# A custom empty label with tuple
field1 = forms.DateField(widget=SelectDateWidget(
    empty_label=(""Choose Year"", ""Choose Month"", ""Choose Day""))
}}}

This is syntactically invalid and should include another closing parenthesis and look as the following

{{{
# A custom empty label with tuple
field1 = forms.DateField(widget=SelectDateWidget(
    empty_label=(""Choose Year"", ""Choose Month"", ""Choose Day"")))
}}}
"	Bug	closed	Documentation	1.8	Normal	fixed	documentation, syntax		Unreviewed	0	0	0	0	0	0
