add staic in setting.py django code example
Example 1: staticfiles
STATICFILES_DIRS = [BASE_DIR / 'static']
Example 2: image in django
<html>
<head>
{% load staticfiles %} <!-- Prepare django to load static files -->
</head>
<body>
<img src={% static "image.jpg" %}>
</body>
</html>