I am building a web application using Django and am experiencing certain problems getting changes made in the CSS file (which is stored in the static directory of my application) to reflect it on the development server.
To be clear, the server has access to static files, however it is currently stuck on the old iteration of my CSS file. A similar problem occurred a few weeks ago when any changes I made to the CSS file did not appear. This problem was fixed in a few days.
However, not getting immediate visual feedback is extremely difficult. I tried all of the following to fix the problem:
- My DEBUG is set to "True"
- I provided STATIC_URL
- I tried to "collect" static files. The command worked, but the dev server still does not reflect the changes made to the CSS file
- I provided STATIC_ROOT, STATICFILES_DIR and STATICFILES_FINDER. They are currently commented out because I realized that some of them are only for production or not needed for development.
My static resources are stored in the "static" directory of one of my applications - "post_it_gen", which is part of the project. According to the documentation, this should automatically search for Django.
Any new suggestions are welcome.
css django
Tushar
source share