On May 13, 2008, at 08:43 , MrJogo wrote:
>
> I'd like my javascripts to know MEDIA_URL so they can pull pictures
> from there (for a slideshow) and I was wondering the best way of doing
> this.
>
> I figure the best way would be to create one javascript file that goes
> through the Django templ
I'd like my javascripts to know MEDIA_URL so they can pull pictures
from there (for a slideshow) and I was wondering the best way of doing
this.
I figure the best way would be to create one javascript file that goes
through the Django templating and makes a variable available for the
other script
2 matches
Mail list logo