Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

load static files in Django

{% load static %}
<img src="{% static 'my_app/example.jpg' %}" alt="My image">
Source by docs.djangoproject.com #
 
PREVIOUS NEXT
Tagged: #load #static #files #Django
ADD COMMENT
Topic
Name
9+6 =