Skip to content
Myr

Merge branch 'master' of github.com:mitsuhiko/flask

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parents 3e2a211, 9ecb9ed · Browse files · 3 files+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+3 added−3 removed

  • other:+3 added−3 removed

3 files+3 added−3 removed

deleted:docs/_themesnot shown

Its text is not shown, deleted.

modified:docs/htmlfaq.rst+2 added-2 removed
61 unmodified lines
6263In 2007, the specification was adopted as the basis of a new HTML64specification under the umbrella of the W3C, known as HTML5. Currently,65it appears that XHTML is losing traction, as the XHTML 2 working group has66een disbanded and HTML5 is being implemented by all major browser vendors.66been disbanded and HTML5 is being implemented by all major browser vendors.6768HTML versus XHTML69-----------------70
132 unmodified lines
203 long-awaited ``<audio>`` and ``<video>`` tags.204- It has the support of most browser vendors behind it.205- It is much easier to write, and more compact.206207For most applications, it is undoubtably better to use HTML5 than XHTML.207For most applications, it is undoubtedly better to use HTML5 than XHTML.
modified:docs/quickstart.rst+1 added-1 removed
559 unmodified lines
560561 @app.route('/upload', methods=['GET', 'POST'])562 def upload_file():563 if request.method == 'POST':564 f= request.files['the_file']564 f = request.files['the_file']565 f.save('/var/www/uploads/' + secure_filename(f.filename))566 ...567568For some better examples, checkout the :ref:`uploading-files` pattern.
147 unmodified lines