This is my very last thing on the site to finish  . . .but it's got me
scratching my head quite a bit.

Satchmo settings are:

SATCHMO_SETTINGS = {
    'SHOP_BASE': '',
    'MULTISHOP': False,
    'SSL': True,
    #'SHOP_URLS' : patterns('satchmo_store.shop.views',)
}

Media URLs are:
MEDIA_URL = 'http://static.powerhousetoolparts.com/'
MEDIA_SECURE_URL='https://www.powerhousetoolparts.com/static/'

When I have this in my template:
 <link href="{{ MEDIA_URL }}/css/reset.css" rel="stylesheet"
type="text/css"/>

I get this in the browser:
<link href="http://static.powerhousetoolparts.com/css/reset.css";
rel="stylesheet" type="text/css"/>

which is what I expect.  If I go and checkout an item, I still get
<link href="http://static.powerhousetoolparts.com/css/reset.css";
rel="stylesheet" type="text/css"/>

Which, again, I would expect.

But if I have
<link href="{{ media_url }}/css/reset.css" rel="stylesheet"
type="text/css"/>

I get this:
<link href="/css/reset.css" rel="stylesheet" type="text/css"/>

Which is not what I would expect.  I'd expect Satchmo's context processor to
work

Ideas?


-- 
Mike Hostetler
SquarePeg Systems
http://www.squarepegsystems.com

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en.

Reply via email to