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 DateTimeShortcuts.

Searching this group I found:
http://groups.google.com/group/django-users/browse_thread/thread/f0abe54d2d1e0313/3f975ec982c4cacc?lnk=gst&q=gettext#3f975ec982c4cacc

But I'm running the latest update from the trunk.

In my HTML output I see:

 <script type="text/javascript" src="/media/js/core.js"></script>
  <script type="text/javascript" src="/media/js/calendar.js"></script>
<script type="text/javascript" src="/media/js/admin/
DateTimeShortcuts.js"></script>

The second two lines are coming from the media property of my form
object, and I inserted the first to quiet another JS error.

I've searched all the JS in my Django check out and I can't find
gettext described there. I turned internationalization off in my
settings file. Any one have any ideas?

-Justin

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to