I pulled the command GIT to my output server. I downloaded my latest changes, which was inserting the photo on the home page. Made: The supervisor restarted its format, I did not find any picture on the main page.
The folder is placed in "images", which is located in static. My code is in html:
& lt; Img src = "{% static 'images / logo.png'%}" & gt;
Firebug in code:
& lt; Img src = "/ static / images / logo.png" & gt;
You should not place your static files in STATIC_ROOT after one of your STATICFILES_DIRS You need to:
./ manage.py collectstatic
then it will be available via:
& Lt; IMG src = "{% static 'pictures / logos .png'%} '& gt;
No comments:
Post a Comment