Put your CSS files in your media directory. If your media url is "http://yoursite/media/", then you could do something like <link rel="stylesheet" type="text/css" media="screen" charset="utf-8" href="/media/style/screen.css" /> and you should see your intended style.
On Thu, Apr 24, 2008 at 10:01 PM, gmacgregor <[EMAIL PROTECTED]> wrote: > > > On Apr 24, 10:49 pm, Rodney Topor <[EMAIL PROTECTED]> wrote: > > So, if my project has a directory structure "mysite/templates/app/ > > template.html", then in which directory should I place the CSS file? > > You'll find this thread helpful: > > > http://groups.google.com/group/django-users/browse_thread/thread/906a11a1c86e13b0 > > > > This prompts me to ask a related question: If the mysite project has > > two apps, is it better to have a separate templates directory within > > each app, or a single template directory within the project with a > > subdirectory for each app as suggested above, or a single template > > directory containing all templates. (The last solution seems wrong, > > poorly structured.) > > It's best to create a "templates" directory and then within that > directory create directories that correspond to each of your > application names: > > project > | > templates > | > blog > template.html > template.html > photos > template.html > > > Just make sure to set TEMPLATE_DIRS properly in your project's > settings file. > > Greg > > > > > -- portfolio: http://textivism.com/ blog: http://erikanderica.org/erik/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---