From c451f57d4e3ba4e3025b0a4016e1eb28cf81aae7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=B6k=C3=A7en=20Eraslan?= Date: Fri, 29 Mar 2013 22:25:39 +0100 Subject: [PATCH] Render form content instead --- .../examples/private/content/en/default/what/whyweb2py.markmin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/examples/private/content/en/default/what/whyweb2py.markmin b/applications/examples/private/content/en/default/what/whyweb2py.markmin index 7f68bc0c..e23930dc 100644 --- a/applications/examples/private/content/en/default/what/whyweb2py.markmin +++ b/applications/examples/private/content/en/default/what/whyweb2py.markmin @@ -66,7 +66,7 @@ def index(): `` {{extend 'layout.html'}}

Image upload form

-{{form}} +{{=form}} ``:code_python Uploaded images are safely renamed to avoid directory traversal vulnerabilities, stored on the filesystem (or database) and a corresponding entry is inserted in the database, linking the file. A built-in mechanism prevents involuntary double form submission. All DB IO is transaction safe by default. Any exception in the code causes the transaction to rollback.