Hey all, I have a Django project and whatever I do, I can't seem to get the css to load in my sub apps.
My project is organized like so:
/{app}/src/{app}/apps/services/app1
/{app}/src/{app}/apps/services/app2
The css for app1 and app2 does not load. My settings.py has
DEBUG = True
STATIC_URL = "/static/"
MEDIA_URL = "/media/"
STATIC_ROOT = os.path.join(BASE_DIR, "static")
MEDIA_ROOT = os.path.join(BASE_DIR, "media")
STATICFILE_DIRS = [BASE_DIR / "static"]
I've tried adding
urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
to the urls.py, which didn't work.
And, python manage.py collectstatic doesn't seem to work either. I see the static files appear in the static dir in the base directory of the app, but it doesn't change anything.
Any help would be appreciated, thank you!