On Aug 3, 2007, at 2:29 PM, [EMAIL PROTECTED] wrote: > I have a template directory having home.html in it. home.html has > <link rel="stylesheet" type="text/css" href="home.css" />, but the > server always 404s the css _only_, whether it is written as home.css > or ./home.css. > Emphasizing here that home.html and home.css are in the same directory > but the server is not finding the latter. > Is this a problem wih direct_to_template? Should I be using a simple > view? Or django.contrib.flatpages?
You're not telling Django where to find your CSS file. Read this: http://www.djangoproject.com/documentation/static_files/ And you should be on your way. -Tyson --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---