From 9f825b9e28547b1310526c9be9fca9e6dbcd57e7 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 8 Jun 2015 15:19:16 -0400 Subject: [PATCH] Fixed #24956 -- Fixed typo in docs/ref/forms/widgets.txt --- docs/ref/forms/widgets.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/ref/forms/widgets.txt b/docs/ref/forms/widgets.txt index c308b0c170..666780bc5d 100644 --- a/docs/ref/forms/widgets.txt +++ b/docs/ref/forms/widgets.txt @@ -813,8 +813,11 @@ 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"), + ), + ) .. versionchanged:: 1.9