Hi, In your project folder, you can create a folder media zith a subfolder css, an other img, js, whatever. In your settings.py, you can use this line to get the absolute path dynamically:
from os import path PROJECT_ROOT = path.dirname(path.abspath(__file__)) After, you need to specify your MEDIA_ROOT and MEDIA_URL MEDIA_ROOT = path.join(PROJECT_ROOT,'media') MEDIA_URL = '/media/' In your template, if you want to get your css or your js, img, etc... you just need to do <link href="/media/css/style.css" rel="stylesheet"> Regards, Seb 2013/7/15 Kakar Arunachal Service <kakararunachalserv...@gmail.com> > Hello, > I read the django docs, but my still confused. How do i use the static > files, for css? > Thank you. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. For more options, visit https://groups.google.com/groups/opt_out.