Re: Re: Using admin js in template code

2006-11-08 Thread John Hwang
I figured it out... the template needs: the jsi18n file has the gettext() function Hope that works for you too. /JohnH On 11/8/06, John Hwang <[EMAIL PROTECTED]> wrote: > I'm trying the exact same thing but the widgets do not seem to > display. I'd like to display the date/time pickers but

Re: Using admin js in template code

2006-11-08 Thread John Hwang
I'm trying the exact same thing but the widgets do not seem to display. I'd like to display the date/time pickers but the event doesn't seem to be triggered. I'm also getting errors in firebug about gettext() function. Any help/suggestion would be great. Thanks, /John On 11/1/06, Guillermo F

Using admin js in template code

2006-11-01 Thread Guillermo Fernandez Castellanos
Hi, I've a model with a DateTimeField in it, and I'm creating a form to add objects. So, I create the form for the DateTimeField. Up to here, everything ok, it works. Now I would like to add the js helpers we can find when we use the admin to create an object (the little calendar and watch with