Ticket #14759: widgets.2.diff
File widgets.2.diff, 625 bytes (added by , 14 years ago) |
---|
-
.
175 175 Wrapper around three select widgets: one each for month, day, and year. 176 176 Note that this widget lives in a separate file from the standard widgets. 177 177 178 Takes one optional argument: 179 180 .. attribute:: List.years 181 182 Is an optional list/tuple of years to use in the "year" select box. 183 The default is a list from the current year and the next 9 years. 184 178 185 .. code-block:: python 179 186 180 187 from django.forms.extras.widgets import SelectDateWidget