Re: SelectDatewidget does not shows the correct value

2008-05-22 Thread Gary Davis
I had this same problem. I think it is still a problem even after the fixes marked #5027 and #5917. I'm a Django newbie, so please forgive me if I'm just confused or if I have missed any future fixes that address this problem. Gary Davis Here's a suggested patch to the SelectDateWidget: (to add

Re: SelectDatewidget does not shows the correct value

2008-04-01 Thread theskyiscrape
SelectDateWidget cannot handle datetime fields. I subclassed the widget: class DatetimeSelectDateWidget(SelectDateWidget): """Overrides render to provide string value expected by SelectDateWidget. """ def render(self, name, value, attrs=None): # The SelectDateWidget in django