Files @ cabad1c7d5f1
Branch filter:

Location: symposion_app/pinaxcon/disable_cscache.py

James Polley
Change "Apply voucher" button into a link

I can't find the form that should be displayed here, so the simplest
thing I can do at 11pm is to make this a link. That's unsatisfying but
hopefully works.
1
2
3
4
5
6
7
from django.utils.cache import add_never_cache_headers


class DisableClientSideCachingMiddleware(object):
    def process_response(self, request, response):
        add_never_cache_headers(response)
        return response