Note that the net tab in firebug is one way to see which references
aren't loading.

On Fri, Jan 22, 2010 at 6:26 AM, David De La Harpe Golden
<david.delaharpe.gol...@ichec.ie> wrote:
> Walt wrote:
>> Okay, we're getting somewhere. It can find the JS file(s) just fine
>
> The static files maybe.
>
>> and I see that the calendars are added dynamically. However, I'm
>> have found that it is generating a javascript error when the page
>> loads:
>>
>> Error: gettext is not defined
>
> Now, I'm working from django 1.1.1 not trunk, it's possible django trunk
> has changed how this works, but in 1.1.1:
>
> gettext should be defined in admin's javascript environment: It is
> generated by AdminSite.i18n_javascript() which produces a dynamically
> generated js snippet by calling django.views.i18n.javascript_catalog().
>  This snippet should be made available at a url under the admin and is
> included along with the various static script files in the head of all
> the admin pages for, well i18n.  Even if i18n is disabled, a trivial
> variant of it is generated.
>
>
> Try visiting
> http://tachamber.org/chamber/admin/jsi18n/
>
> (or wherever you put your admin)
>
> You should find a javascript snippet with a header
>
> /* gettext library */
>
> ... unless a django developer can chime in with "it doesn't work that
> anymore".
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to