Skip to content
Justice Tech School

Static Files

Load static assets with the static tag.

Example
{% load static %}
<link rel="stylesheet" href="{% static 'css/site.css' %}">
<img src="{% static 'img/logo.png' %}" alt="">

Exercise

Load tag.

{% load  %}

Quiz Test

Where do app static files live?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.