Skip to content Skip to sidebar Skip to footer

Style.css File Location In Django

I have a style.css file which is common across all the apps in my Django project. It is located as follows: testsite______ | | testsite

Solution 1:

No, you dont have to specify anything of the css in the urls. Try to put into the HTML

{% load staticfiles %}

and to call a

<link rel="stylesheet" href="{% static 'css/style.css' %}" />

I do it like that and it works fine.

Post a Comment for "Style.css File Location In Django"