> > > Is anyone able to provide an example of passing initial data to the > > > SelectDateWidget in newforms.extras.widgets (or to the DateField that > > > uses that widget)? I've tried many different approaches, but am > > > totally stuck. This won't work? birthdate = forms.DateField(label='Birth date', widget=SelectDateWidget(years=range(2006,1900,-1)))
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---