On 1/5/07, stoKes <[EMAIL PROTECTED]> wrote:
...
> > We're doing exactly the same thing.  This isn't a provided dj context
> > processor due to the slippery slope of including all settings in
> > context.  It's been raised many times.  Adding media_url should
> > probably be a cookbook entry...

what about defining images in your stylesheets?

Make the url() properties relative.

In:
http://media.pegasusnews.com/css/base.css
"
.module h2 { background:url(../img/site/corner_bg.gif) }
"

which resolves to
http://media.pegasusnews.com/img/site/corner_bg.gif

--~--~---------~--~----~------------~-------~--~----~
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