When I use url pattern like this "/search/(\s+)","myview" : django will set
mydomain/search as the root domain, so the css and js will not request
correctly:

in my template:
<link rel="stylesheet" type="text/css" href="styles/index.css"/>

the request url for the index.css  is:
http://mydomain/search/styles/index.css but not:
http://mydomain/styles/index.css

is there any solution?


-- 
Pursuit the freedom of the soul.

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to