django css folder code example
Example 1: css django
{% load static %}
<link rel="stylesheet" type="text/css" href="{% static 'polls/style.css' %}">
Example 2: staticfiles
STATICFILES_DIRS = [BASE_DIR / 'static']
{% load static %}
<link rel="stylesheet" type="text/css" href="{% static 'polls/style.css' %}">
STATICFILES_DIRS = [BASE_DIR / 'static']