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

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -