+ 4
Why this picture in ~/Desktop/myshop/shop/product in jdango don't display in website?
<header> <figure> <a href="#"><img src={% static 'shop/layer19.png ' %}"></a> </figure> </header>
6 Antworten
+ 6
Is it because it's on your local computer and not the web server?
+ 4
{{ url_for('static', filename='path') }}
+ 2
It didn't work
+ 2
What is the error exactly?
And what did you expect??
+ 1
paste in template above the <head> tag:
include static
+ 1
In which folder your django project lives. Use relative path.