you need to put it in your media folder. http://docs.djangoproject.com/en/1.2/howto/static-files/
Rgds, Marcos On Thu, Feb 17, 2011 at 2:44 PM, hank23 <hversem...@stchas.edu> wrote: > Is it possible to use external javascript files with a django app? If > so what folder does the javascript file need to be placed in? So far I > tried putting it in the bas folder of the app. I want to use it in and > it doesn't seem to work there if I reference it directly using only > just the filename in my javascript reference in the html file where I > call a function in my external file. So am I referencing it wrong or > do I need to put it in some other folder? > > -- > 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 > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- Some people, when confronted with a problem, think “I know, I'll use regular expressions.” Now they have two problems. Jamie Zawinski, in comp.emacs.xemacs -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.