1STATIC_URL = '/static/'
2STATIC_ROOT = os.path.join(BASE_DIR, "/static/")
3
4STATICFILES_DIRS = (
5 STATIC_ROOT,
6)
7
1<html>
2 <head>
3 {% load staticfiles %} <!-- Prepare django to load static files -->
4 </head>
5 <body>
6 <img src={% static "image.jpg" %}>
7 </body>
8</html>