I had to use {{ MEDIA_URL }} instead of {% MEDIA_URL %} (gave me a
template error)
Adding a template context processor was not option for me because for
the static part i have no views/models defined.
Thanks for the answer! I didnt think of solving it this way.
Rob
--~--~-~--~~-
Hi,
Imho there's a MEDIA_URL field in settings,
so you could use that, and uset {% MEDIA_URL %} in your template (you
could also add template context processors)
-djibon-
On 10/13/09, rvandam wrote:
>
> I am working on a site with a static part (i use the Djano tempate
> system to separate men
I am working on a site with a static part (i use the Djano tempate
system to separate menu's and header from the content), and a dynamic
part. For the static part i have a directory structure like:
index.html
page1.html
page2.html
request for / will load index.html
A part of my urls.py:
(r
3 matches
Mail list logo