I understand that static files (e.g. CSS, JS, images) in a Django project are ideally stored in a directory static/, be it inside the application or the project root.
The sample folder structure may look like
project_root/my_app/static/my_app/css, jsor img, or
project_root/static/project_name/css, jsorimg
In addition, I ran a team collectstaticto make them ready for service.
But my question is: where should I store SASS files? If I create the sass directory inside static/my_app/along with the directories css, jsand imgwill they not be available to the public when I make them ready for service?
What could be the best location / directory for storing SASS (or SCSS) files in a Django project so that they are not available to the public, since they will already be processed in CSS, which is finally available to the public? Also, please let me know if my concepts about static files are understood.
thank
source
share