On Thu, 2012-03-22 at 05:25 -0700, Stodge wrote:
> No I need MEDIA_ROOT, I want to experiment with:
> 
> <script src="{{ MEDIA_ROOT }}/extern/js/jquery.js"></script>
> 
> Thanks 

in the view:
from django.conf import settings

and send settings.MEDIA_ROOT to the template

or build a templatetag to do the same thing.
-- 
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.

Reply via email to