On Friday, January 21, 2011 11:11:30 am [email protected] wrote: > @ Eric of course I tried putting full url in template first and u know > that didn't work - I wish it were that simple. That's what I'm > talking about. Why not? >
What do you mean? <link rel="stylesheet" href="http://mysite.com/media/stylessheet.css" type="text/css"> does work. The real problem here is serving up the css file. Most peopole have a hard time configuring the server to work nicely with django, but most people make this harder than it needs to be. This is one reason I recommend developers learn how to admin the servers they are working on, so it doesn't become a problem. FTR: Using {{ MEDI_URL }} is a convience not to tie in the media server to one location and you only need to update the settings.py file to change that site wide instead of searching for every place you've hardccoded it in. Mike -- Reader, suppose you were an idiot. And suppose you were a member of Congress. But I repeat myself. -- Mark Twain -- You received this message because you are subscribed to the Google Groups "Django 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/django-users?hl=en.

