initial value not working when used with SelectDateWidget

2008-03-05 Thread GaneshPulsars
Hi, I want to show the current date in the Date field. It works 'SelectDateWidget' when I use the default widget. If I use 'SelectDateWidget' then I always get 1st January 2008. Is there a way to use 'SelectDateWidget' and still get current date in the input box? The code is pasted in the

Re: initial value not working when used with SelectDateWidget

2008-03-05 Thread Pete Crosier
Ganesh - http://groups.google.com/group/django-users/post - try again ;D On Mar 5, 2:32 pm, "M.Ganesh" <[EMAIL PROTECTED]> wrote: > Hi, > > I want to show the current date in the Date field. It works > 'SelectDateWidget' when I use the default widget. If I use > 'SelectDateWidget' then I always

initial value not working when used with SelectDateWidget

2008-03-05 Thread M.Ganesh
Hi, I want to show the current date in the Date field. It works 'SelectDateWidget' when I use the default widget. If I use 'SelectDateWidget' then I always get 1st January 2008. Is there a way to use 'SelectDateWidget' and still get current date in the input box? The code is pasted in the

Re: initial value not working when used with SelectDateWidget

2008-03-05 Thread GaneshPulsars
I am sorry for hijacking this thread inadvertantly. I'll start another thread. Ganesh On Mar 5, 6:44 pm, "M.Ganesh" <[EMAIL PROTECTED]> wrote: > Hi, > > I want to show the current date in the Date field. It works > 'SelectDateWidget' when I use the default widget. If I use >

initial value not working when used with SelectDateWidget

2008-03-05 Thread M.Ganesh
Hi, I want to show the current date in the Date field. It works 'SelectDateWidget' when I use the default widget. If I use 'SelectDateWidget' then I always get 1st January 2008. Is there a way to use 'SelectDateWidget' and still get current date in the input box? The code is pasted in the