No documentation on this one, should be simple, but not functioning for me.
Here's the raw code: http://code.djangoproject.com/browser/django/trunk/django/forms/extras/widgets.py
Trying to pass a value of required=False to the Widget to get blank values (line 23 in the raw code: none_value = (0, '---')) but get an unexpected argument raised with the code:
partner_date_of_birth = forms.DateField(required=False,
widget=forms.extras.SelectDateWidget(required=False,years=range(1940, 1992)))
Works without the second required=False argument, but doesn't have the 'Blank option in the form option list - which I'd need to be default.
Any tips on where I'm going wrong?