I am aware that similar question was answered in Django - Static file not found But looks like I miss something or it was, somehow, a different case.
I have my static folders set in settings.py
STATIC_URL = '/static/'
STATICFILES_DIRS = [
os.path.join(BASE_DIR, "static/")
]
And in the code, I refer to file like
{% load staticfiles %}
<link href="{% static 'filename.css' %}" rel="stylesheet">
Still, django searches for this file in /view/filename.css
How do I make it work?
P.S. Also bootstrap.css
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="hash" crossorigin="anonymous">
isn't loaded for the same reason.