1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #20986 -- Enabled SelectDateWidget to use custom months

Reviewed by Trac alias MarkusH.
This commit is contained in:
Loic Bistuer
2013-08-28 13:22:47 +07:00
committed by Anssi Kääriäinen
parent b89c2a5d9e
commit da800be6dd
4 changed files with 98 additions and 6 deletions

View File

@@ -213,6 +213,10 @@ Forms
return ``self.cleaned_data``. If it does return a changed dictionary then
that will still be used.
* :attr:`SelectDateWidget.months
<django.forms.extras.widgets.SelectDateWidget.months>` can be used to
customize the wording of the months displayed in the select widget.
Management Commands
^^^^^^^^^^^^^^^^^^^