I\'m using the render_to_response shortcut and don\'t want to craft a specific Response object to add additional headers to prevent client-side caching.
I\'d like to
You can achieve this using the cache_control decorator. Example from the documentation:
from django.views.decorators.cache import never_cache @never_cache def myview(request): # ...