Hi Matt.

> The problem is that it then trys to serve the css from the wrong url -
> in the server window I get
>
>  "GET /accounts/site_media/default.css HTTP/1.1" 404 2644
>
> whereas the correct path is /site_media/default.css

I think you want the url for your media directory to be full, rather
than relative.

Instead of:

site_media/default.css

use:

/site_media/default.css

That way it won't be affected by the location from which your page is
served.  Whether you are in the root or in accounts, the css will
still come from /site_media.

Scott


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