Files @ 7d18387670ca
Branch filter:

Location: symposion_app/pinaxcon/disable_cscache.py

James Polley
If no boardingpass, make one

- Use the first template in the system
- If there's no template, use /tickets/review as it at least gives
- people an overview of what they've paid for and warns them of
missing categories
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