Building a site with Django and my index.html page is not rendering images properly. The image loads up fine when I open the HTML file in the browser, but when I do python manage.py runserverfrom powershell the HTML page doesn’t render any of the images.
The code is below– why is it not rendering when running in the server but works when I open in browser?
<!DOCTYPE html>
<head>Q&A</head>
<body>
<h1><img src="c:/users/chris/desktop/logo.jpg"></img></h1>
</body>
Django needs to know the location of the static content to server them.
Do the following: