django css file code example
Example 1: css django
{% load static %}
<link rel="stylesheet" type="text/css" href="{% static 'polls/style.css' %}">
Example 2: static file link in django
STATIC_URL = '/static/'
{% load static %}
<link rel="stylesheet" type="text/css" href="{% static 'polls/style.css' %}">
STATIC_URL = '/static/'