Re: Where to put stylesheets?

2008-07-09 Thread Benjamin Buch
Fixed it. Thanks for pointing me to the right place in the documentation. Searched the docs, but overlooked 'Serving static/media files'. Who thought that there would be something about where to put my css files? Lame excuse, glad you helped me! -benjamin > > meant to put this in there: >

Re: Where to put stylesheets?

2008-07-09 Thread mccomas . chris
meant to put this in there: http://www.djangoproject.com/documentation/static_files/ On Jul 9, 2:59 pm, Benjamin Buch <[EMAIL PROTECTED]> wrote: > > Just to clarify what may be obvious...do you have the correct one > > of these: > > >  href=" {{ MEDIA_URL }}styles.css"  <- what you wrote > >  

Re: Where to put stylesheets?

2008-07-09 Thread mccomas . chris
did you set the path to your in your URLconf, since you're using the development server? On Jul 9, 2:59 pm, Benjamin Buch <[EMAIL PROTECTED]> wrote: > > Just to clarify what may be obvious...do you have the correct one > > of these: > > >  href=" {{ MEDIA_URL }}styles.css"  <- what you wrote > >

Re: Where to put stylesheets?

2008-07-09 Thread Benjamin Buch
> Just to clarify what may be obvious...do you have the correct one > of these: > > href=" {{ MEDIA_URL }}styles.css" <- what you wrote > href="{{ MEDIA_URL }}styles.css" <- likely what you want > > without the extra space? > > -tim fixed it, but it still won't load... -benjamin

Re: Where to put stylesheets?

2008-07-09 Thread Tim Chase
> href=" {{ MEDIA_URL }}styles.css" /> , > > 'styles.css' won't load. Just to clarify what may be obvious...do you have the correct one of these: href=" {{ MEDIA_URL }}styles.css" <- what you wrote href="{{ MEDIA_URL }}styles.css" <- likely what you want without the extra space? -tim

Where to put stylesheets?

2008-07-09 Thread Benjamin Buch
Okay, I'll ask. Perhaps it's a stupid supernoob-question, but I'll do it: Where should my projects' stylesheets live? I've made a 'media' directory beneath the projects' home folder, and I put that into settings.py: MEDIA_ROOT = '/path/to/my/project/media' MEDIA_URL =