Xavier, I followed the blog, and at the end, my css files were not getting pulled in. I then tried doing a ./manage.py collectstatic, and this does collect all static files. Unfortunately, running the server still does not serve my css files.
I have spent too many cycles on this issue now. I will go back to my workaround of just placing css inline in the templates, and later, use Apache on my local machine to serve the css files. Thanks Nara On Sep 25, 2:44 pm, Xavier Ordoquy <[email protected]> wrote: > Hi, > > > I have read and followed the docs on static files. > > django.contrib.staticfiles is in INSTALLED_APPS > > (by default), and I have set STATICFILES_DIRS to where my static files > > are (/home/nara/media). (I have > > tried with and without a slash at the end of this absolute file path). > > Static files aren't media. You should keep them separated. > > > I am confused about whether ./manage.py collectstatic is a necessary > > step for static files to work, I didn't think so, and have not done > > that. > > It isn't if you aren't on production stage (ie, DEBUG=False). > > I have started a post on how to setup static files. It isn't finished yet but > might help you to set it > up:http://www.linovia.com/blog/django-staticfiles-howto/ > > Regards, > Xavier. -- 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.

