python django怎么添加css
网上的方法各种不行.
我的目录情况:
helloworld/
--------------_init_.py
--------------setting.py
--------------urls.py
--------------views.py
--------------templates/
----------------------------index.html
----------------------------css/
----------------------------------common.css
然后urls.py添加了(r'^index/$', show_index),后在http://127.0.0.1:8000/index/可以访问到index.html页面,但是index.html中的css却没有作用。index.html中引入css的语句为:
<link type="text/css" rel="stylesheet" href="./css/common.css" />
请教大神django怎么添加这个common.css?