python - django static files - don't work -


i have django project , i'm using static files, didn't work , can not include css file or image html file

here

<link rel="icon" href={% static "img/favicon.png" %}> 

or

<link href={% static "css/mine.css" %} rel="stylesheet"> 

i checked direction , ok cant understand why code didn't work

i add static section in settings.py follows

static_url = '/static/' 

just change this

<link rel="icon" href="{% static "img/favicon.png" %}"> 

and

<link href="{% static "css/mine.css" %}" rel="stylesheet"> 

Comments

Popular posts from this blog

Capture and play voice with Asterisk ARI -

c++ - Can not find the "fiostream.h" file -

java - Why database contraints in HSQLDB are only checked during a commit when using transactions in Hibernate? -