Artifact 0afc3bbead4acfcdba4aecb465f885bd1f706f74:
- File applications/examples/controllers/template_examples.py — part of check-in [eba4a35a21] at 2011-08-08 04:53:38 on branch develop — Added web2py 1.98.2 (user: spiffy, size: 395) [annotate] [blame] [check-ins using]
def variables(): return dict(a=10, b=20) def test_for(): return dict() def test_if(): return dict() def test_try(): return dict() def test_def(): return dict() def escape(): return dict(message='<h1>text is scaped</h1>') def xml(): return dict(message=XML('<h1>text is not escaped</h1>')) def beautify(): return dict(message=BEAUTIFY(request))