Mercurial > templog
diff web/templog.py @ 202:6dd157a12035
Add url link, improve atomicfile
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 30 Mar 2014 20:20:30 +0800 |
parents | 4fa8cbf31065 |
children | 59379b2bd056 |
line wrap: on
line diff
--- a/web/templog.py Mon Mar 24 20:49:00 2014 +0800 +++ b/web/templog.py Sun Mar 30 20:20:30 2014 +0800 @@ -69,6 +69,7 @@ @route('/set') def set(): allowed = ["false", "true"][secure.get_user_hash() in config.ALLOWED_USERS] + response.set_header('Cache-Control', 'no-cache') return bottle.template('set', inline_data = log.get_params(), csrf_blob = secure.get_csrf_blob(),