I have looked around on this site as well as others and still have not found a solution that works for why django is not loading my css file
my settings.py file:
STATIC_URL = '/static/'
STATICFILES_DIR = [
os.path.join(BASE_DIR, "static"),
]
in my html file:
{% load static %}
<link rel="stylesheet" href="{% static '/css/my_style.css' %}">
My file tree:
todo_app
static
todo_app
todo_list
db.sqlite3
manage.py
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'todo_list',
]
Any help would be greatly appreciated. I tried using the STATIC_ROOT as shown on a different thread but there was no change with that.
/in/css/my...