This commit is contained in:
florentx 2010-06-07 16:27:44 +08:00 committed by Armin Ronacher
parent 54d22f1c55
commit 9ecb9edc06
3 changed files with 3 additions and 4 deletions

@ -1 +0,0 @@
Subproject commit c775271cf77795a5358a13b2c2d08c0f61062557

View file

@ -63,7 +63,7 @@ the XHTML syntax over the syntax defined by the specification.
In 2007, the specification was adopted as the basis of a new HTML
specification under the umbrella of the W3C, known as HTML5. Currently,
it appears that XHTML is losing traction, as the XHTML 2 working group has
een disbanded and HTML5 is being implemented by all major browser vendors.
been disbanded and HTML5 is being implemented by all major browser vendors.
HTML versus XHTML
-----------------
@ -204,4 +204,4 @@ reasons given above:
- It has the support of most browser vendors behind it.
- It is much easier to write, and more compact.
For most applications, it is undoubtably better to use HTML5 than XHTML.
For most applications, it is undoubtedly better to use HTML5 than XHTML.

View file

@ -561,7 +561,7 @@ Werkzeug provides for you::
@app.route('/upload', methods=['GET', 'POST'])
def upload_file():
if request.method == 'POST':
f= request.files['the_file']
f = request.files['the_file']
f.save('/var/www/uploads/' + secure_filename(f.filename))
...