Why can't I add static files in my django project when other static files are available in sources?
问题 I'm trying to build a Django app for Heroku and have gone through the Polls tutorial and Heroku documentation When serving the basic Django-heroku app with heroku local or python3 manage.py runserver I can see that some static files are loaded just fine (/static/lang-logo.png specifically). But when I add my main.css and run python3 manage.py collectstatic the css file never shows up and the import in my index.html never loads. I've ready that whitenoise is best for serving static files in a