Re: How to use MEDIA_URL on flatpages content?

2009-06-25 Thread Panu Tangchalermkul
he new flat page where media url are replaced by their > > corresponding urls > > > subject = render_to_string('',{},RequestContext(request)) > > > On Jun 25, 12:53 pm, Panu Tangchalermkul <pan...@gmail.com> wrote: > > > > In the content of my flatpage, there's a picture

How to use MEDIA_URL on flatpages content?

2009-06-25 Thread Panu Tangchalermkul
In the content of my flatpage, there's a picture to be displayed that it was stored in django media folder. I want to link to this file without having to specify its url directly. Instead, I want to use something like {{MEDIA_URL}} when editing the content via django- admin. I know I can use it