[Django]-Django load block for css

98👍

You need to use {% load static %} first.

0👍

it is

{% block css %}

{% endblock %}

0👍

Your code needs to be refined.

You are using double quotes, where you need to use an apostrophe.

Use

href ="{% static 'css/contact.css' %} "

Instead of

href ="{% static" css/contact.css" %} "

Leave a comment