Jay Parlar a écrit : > On 11/13/06, Jean-Luc <[EMAIL PROTECTED]> wrote: > > > > hi Django folks > > > > newbie question, style sheet not found > > > > my base.html > > <head> > > <meta http-equiv="Content-Type" content="text/html; > > charset=iso-8859-1"/> > > <link rel="stylesheet" href="media/css/budget.css" title="main.css" > > type="text/css" media="screen"/> > > That's your problem right there, you have the 'media' folder as a > relative URL. Look at the request, it's trying to get: > > GET /budget/2006/08/media/css/budget.css > > which isn't what you want. Your HTML should probably be: > > <link rel="stylesheet" href="/media/css/budget.css" title="main.css" > type="text/css" media="screen"/> > > (ie. I added a '/' in front of 'media') > > Jay P.
Sorry Jay That don't work I have the same GET GET /budget/2006/08/media/css/budget.css I think, bat is not sure that GET should be GET path_to_media/media/css/budget.css path_to_media = basedir from urlpatterns Thank You Jay jlT --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

