Answers for "{% load static %} <script src="{% static 'js/script.js' %}"></script> <link rel="stylesheet" href="{% static 'css/style.css' %}">"

9

add static file in django

STATICFILES_DIRS = [
    BASE_DIR / "static",
    '/var/www/static/',
]
Posted by: Guest on November-25-2020

Code answers related to "{% load static %} <script src="{% static 'js/script.js' %}"></script> <link rel="stylesheet" href="{% static 'css/style.css' %}">"

Python Answers by Framework

Browse Popular Code Answers by Language