On Mar 17, 9:30 pm, Igor Ganapolsky <eazy...@gmail.com> wrote:
> Hi,
> I am running a django dev server.  I have a template where I'm calling
> a javascript function from a an external .js file (residing in the
> same directory as the template).  However, I get the following error:
> "ReferenceError: al is not defined".  Nevertheless, when I just open
> this html page without the django dev server, the function al() works
> fine.
> I am puzzled by this.  Does anybody have an idea?
>
> Thanks

Why is your javascript file in the same directory as the template? How
have you configured your server to serve static assets?
--
DR.

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