In a production environment, yes your static files (incl CSS) will need to be served outside of Django (can be on the same server, but it's generally recommended to use a separate serve or CDN). On your local development server (where you're using the runserver command), you can use the built-in staticfiles app. This document will give you the full rundown: https://docs.djangoproject.com/en/1.4/howto/static-files/
Essentially, you add staticfiles to your installed apps in your settings, tell it where to find your static content on disk, and then use {{ STATIC_URL }} in your templates. _Nik On 1/5/2013 6:12 PM, Czaro wrote: > I've been trying to get my CSS to work with my python powered site > forever but I have no luck. I read the djangobook and a massive load > of other resources but they all say a different thing and nothing > worked for me. I would appreciate a few helpful steps on how to get my > CSS to work. > Some details: > I;m in development mode. > I'm using runserver and when i run it I only see the HTML and not the CSS. > I'm also not sure if my CSS files need to be hosted on a separate server. > Any help will be greatly appreciated. > Thanks!!!!!!!!!!1 > -- > You received this message because you are subscribed to the Google > Groups "Django users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/django-users/-/WpOUKKUuRD4J. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.