I have the following project structure:
myproject
- myapp
- manage.py
- myproject
- settings.py
- urls.py
...
- static
- templates
I want to serve all my static files from within this static folder. In my settings.py, I have the following:
STATIC_URL = '/static/'
However, in one of my templates, when I call static files using the following...
{% load static %}
...
<link href="{% static 'css/styles.css' %}" rel="stylesheet" />
...nothing gets loaded.
However, if I add the css file within myapp/static/css/styles.css, then everything works properly. How can I serve static files from my project root folder? Thanks for any help.