On 2/14/07, Joseph Heck <[EMAIL PROTECTED]> wrote:
> It's worth noting that to use the MEDIA_URL settings in your template,
> you'll need to either pass it down through the views into the Template
> context, or write a quick little middleware that always pushes it into the
> context (which is what I did).
>

This is what context processors are for:
http://www.djangoproject.com/documentation/templates_python/#subclassing-context-requestcontext

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to