[1.8.x] Fixed #24956 -- Fixed typo in docs/ref/forms/widgets.txt
Backport of 9f825b9e28
from master
This commit is contained in:
parent
a22a1b3e23
commit
9cf5c4dcff
|
@ -805,5 +805,8 @@ Composite widgets
|
|||
field1 = forms.DateField(widget=SelectDateWidget(empty_label="Nothing"))
|
||||
|
||||
# A custom empty label with tuple
|
||||
field1 = forms.DateField(widget=SelectDateWidget(
|
||||
empty_label=("Choose Year", "Choose Month", "Choose Day"))
|
||||
field1 = forms.DateField(
|
||||
widget=SelectDateWidget(
|
||||
empty_label=("Choose Year", "Choose Month", "Choose Day"),
|
||||
),
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue