Is there an easy way to turn off caching of static files in Django\'s development server?
I\'m starting the server with the standard command:
My very simple solution:
from django.contrib.staticfiles.views import serve from django.views.decorators.cache import never_cache static_view = never_cache(serve) urlpatterns += static_view(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)