diff --git a/applications/examples/controllers/template_examples.py b/applications/examples/controllers/template_examples.py index addb8d07..94b7c6e0 100644 --- a/applications/examples/controllers/template_examples.py +++ b/applications/examples/controllers/template_examples.py @@ -27,4 +27,4 @@ def xml(): def beautify(): - return dict(message=BEAUTIFY(request)) + return dict(message=BEAUTIFY(dict(a=1,b=[2,3,dict(hello='world')]))) diff --git a/applications/examples/views/default/examples.html b/applications/examples/views/default/examples.html index b6b33de3..9debd288 100644 --- a/applications/examples/views/default/examples.html +++ b/applications/examples/views/default/examples.html @@ -278,7 +278,7 @@ def xml():
You can use BEAUTIFY to turn lists and dictionaries into organized HTML.