Re: Not pure Django. Chrome versus Safari discrepancy

2014-02-15 Thread Andrew Taylor
Thanks will experiment. On Friday, 14 February 2014 16:18:53 UTC, C. Kirby wrote: > > You can try using the @never_cache decorator on the view that captures the > page view > > from django.views.decorators.cache import never_cache > > That should instruct safari not to cache the page. > Sometimes

Re: Not pure Django. Chrome versus Safari discrepancy

2014-02-14 Thread C. Kirby
You can try using the @never_cache decorator on the view that captures the page view from django.views.decorators.cache import never_cache That should instruct safari not to cache the page. Sometimes that won't work due to how browsers respect the headers. You can also try the decorator: from

Not pure Django. Chrome versus Safari discrepancy

2014-02-14 Thread Andrew Taylor
Hi, I have been working my way through the tango with django tutorial, which I have to say I have found to be excellent. http://www.tangowithdjango.com/book/chapters/tango_too.html There is one section (above link) whereby you track the number of times a url has been clicked. This is done by p