All good points thanks. I'm only experimenting and learning so this
won't hit production. Point taken though. :)

On Mar 22, 7:30 am, Tom Evans <tevans...@googlemail.com> wrote:
> On Thu, Mar 22, 2012 at 12:25 PM, Stodge <sto...@gmail.com> wrote:
> > No I need MEDIA_ROOT, I want to experiment with:
>
> > <script src="{{ MEDIA_ROOT }}/extern/js/jquery.js"></script>
>
> > Thanks
>
> MEDIA_ROOT is a file-system location, not a URL-space location, and
> should not be exposed in templates. It is nonsense to use media root
> as a prefix to the URL-space location of your javascript files.
>
> Cheers
>
> Tom

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

Reply via email to