Django load block for css Django load block for css django django

Django load block for css


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


it is

{% block css %}{% endblock %}


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" %} "