Hi everyone,
I have a Django 1.7.1 project structured as per documentation. In it, I have an app called "mainsite". In mainsite, I have templates/mainsite/index.html and static/mainsite/bootstrap.css. In the index template, I use {% load staticfiles %} and then for css I have the following link: <link href="{% static "css/bootstrap.css" %}" rel="stylesheet"> However, when I load the page in the browser, the css does not load and when in "view source" mode, I click the link href ("/static/css/bootstrap.css"). This generates a 404 error.
What am I missing? Any suggestions welcome.
P.S: I have the STATIC_URL = '/static/' setting defined in the settings file.
--
Regards,
Sithu Lloyd Dube