I am struggling to get css to work globally across my Django project.
I have a STATICFILES_DIRS called 'project_static' with a css file in it. This is in the root of my project. In my settings.py I have:
STATICFILES_DIRS = (
'/Users/gavinhinfey/django_projects/ss_stream/project_static/',
)
In base.html I have:
<link rel="stylesheet" href="{{STATIC_URL}}css/main.css">
{% block content %}
{% endblock content %}
The css file links fine when I'm at a page template within an app 'stream' which I have created. However when I'm viewing a page template not specific to an app it does not see the css.
Any idea why this is?
I've done my best to explain this but if you need clarification on the problem please ask.
Thanks Gavin