django css locasion code example
Example 1: css django
{% load static %}
<link rel="stylesheet" type="text/css" href="{% static 'polls/style.css' %}">
Example 2: add static file in django
STATICFILES_DIRS = [
BASE_DIR / "static",
'/var/www/static/',
]