widgets.py¶
Provides extra HTML Widget classes
-
class
core.widgets.SelectDateWidget(attrs=None, years=None, format=None, required=True)[source]¶ Bases:
django.forms.widgets.WidgetA Widget that splits date input into three <select> boxes.
This also serves as an example of a Widget that has more than one HTML element and hence implements value_from_datadict.