Re: gettext is not defined - js error in admin calendar.js

2008-10-13 Thread Natim
I did it :D Here are my information : Here is my Form.Field definition : dob = forms.DateField(label="Date of birth", input_formats=['%Y-%m- %d'], widget=forms.DateTimeInput(attrs={'class':'vDateField'})) And that's it :D On 13 oct, 08:52, Natim <[EMAIL PROTECTED]> wrote: > You have t

Re: gettext is not defined - js error in admin calendar.js

2008-10-12 Thread Natim
You have to do like that : And define in you urls.py (r'^jsi18n/$', 'django.views.i18n.javascript_catalog', {'packages': 'django.conf'}), Let me know if it does works :) On 8 sep, 14:37, ykb <[EMAIL PROTECTED]> wrote: > Could you please let us know in a little more detail on how to set the

Re: gettext is not defined - js error in admin calendar.js

2008-09-08 Thread ykb
Could you please let us know in a little more detail on how to set the jsi18n path. Where is "/admin/jsi18n/" referring to? Thanks, Yadu. On Aug 20, 1:38 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > That did it. Many Thanks! > > On Aug 19, 3:09 pm, Daniel Roseman <[EMAIL PROTECTED]> > w

Re: gettext is not defined - js error in admin calendar.js

2008-08-19 Thread [EMAIL PROTECTED]
That did it. Many Thanks! On Aug 19, 3:09 pm, Daniel Roseman <[EMAIL PROTECTED]> wrote: > On Aug 19, 5:28 pm, "[EMAIL PROTECTED]" > > > > <[EMAIL PROTECTED]> wrote: > > Hello, > > > I'm trying to use the datetime picker widget from the admin widgets. > > > My form is displaying, but the datetime

Re: gettext is not defined - js error in admin calendar.js

2008-08-19 Thread Daniel Roseman
On Aug 19, 5:28 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hello, > > I'm trying to use the datetime picker widget from the admin widgets. > > My form is displaying, but the datetime picker is not. When I check > the error console, I see the message: > > Error: gettext is not defined > S

gettext is not defined - js error in admin calendar.js

2008-08-19 Thread [EMAIL PROTECTED]
Hello, I'm trying to use the datetime picker widget from the admin widgets. My form is displaying, but the datetime picker is not. When I check the error console, I see the message: Error: gettext is not defined Source File: http://localhost:8001/media/js/calendar.js Line: 26 And another in Da