Stoge, you DO need MEDIA_URL in turn to build the URL in which script src is based on.
MEDIA_ROOT is the (complete) physical path to the file. Do you want to expose your filesystem? [ ]s Davinir 2012/3/22 Stodge <sto...@gmail.com> > No I need MEDIA_ROOT, I want to experiment with: > > <script src="{{ MEDIA_ROOT }}/extern/js/jquery.js"></script> > > Thanks > > On Mar 22, 7:22 am, kenneth gonsalves <law...@thenilgiris.com> wrote: > > On Thu, 2012-03-22 at 05:11 -0700, Stodge wrote: > > > In my template: > > > > > MEDIA_ROOT: {{MEDIA_ROOT}} > > > > > But all I see is: > > > > > MEDIA_ROOT: > > > > > So MEDIA_ROOT is blank or doesn't exist. Did I miss something? > > > > https://docs.djangoproject.com/en/1.0/ref/templates/api/#django-core-... > > > > you need MEDIA_URL > > -- > > regards > > Kenneth Gonsalves > > -- > 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. > > -- 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.