On 4/10/07, Udi <[EMAIL PROTECTED]> wrote:
> You can create a custom context processor that fetches the base media
> url from your settings file and makes it available to the templates.
I haven't yet officially "released" it, but I've been working on a
small application which bundles a lot of use
You can create a custom context processor that fetches the base media
url from your settings file and makes it available to the templates.
Check this out:
http://www.b-list.org/weblog/2006/06/14/django-tips-template-context-processors
On Apr 4, 11:02 am, "akonsu" <[EMAIL PROTECTED]> wrote:
> he
hello,
i need a way to emit media url in a template. something similar to the
{% url %} tag but for media. curently django site itself is in
violation of the DRY principle:
http://code.djangoproject.com/browser/djangoproject.com/django_website/templates/base.html
(line 18 for example)
i guess i
3 matches
Mail list logo