Saturday, 31 August 2013

Why is Django (./manage runserver) serving files I've deleted?

Why is Django (./manage runserver) serving files I've deleted?

In my development environment I've deleted my static files directory (rm
-rf [PROJECT_NAME]/static/), emptied my browser's cache, restarted the
server and still when I load a page, the static files (my JS, CSS, etc.)
are still there (e.g.
http://192.168.1.100:8000/static/js/bootstrap.min.js). I can't figure out
how. This happens with both runserver and gunicorn. How are they still
being served and how can I stop them from being served?

No comments:

Post a Comment