Browse Source

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

pull/930/merge
Armin Ronacher 11 years ago
parent
commit
b0f8d0f01b
  1. 4
      docs/deploying/wsgi-standalone.rst
  2. 2
      docs/patterns/fileuploads.rst

4
docs/deploying/wsgi-standalone.rst

@ -25,7 +25,7 @@ For example, to run a Flask application with 4 worker processes (``-w
.. _Gunicorn: http://gunicorn.org/
.. _eventlet: http://eventlet.net/
.. _greenlet: http://codespeak.net/py/0.9.2/greenlet.html
.. _greenlet: http://greenlet.readthedocs.org/en/latest/
Tornado
--------
@ -63,7 +63,7 @@ event loop::
http_server.serve_forever()
.. _Gevent: http://www.gevent.org/
.. _greenlet: http://codespeak.net/py/0.9.2/greenlet.html
.. _greenlet: http://greenlet.readthedocs.org/en/latest/
.. _libevent: http://monkey.org/~provos/libevent/
Twisted Web

2
docs/patterns/fileuploads.rst

@ -22,7 +22,7 @@ bootstrapping code for our application::
import os
from flask import Flask, request, redirect, url_for
from werkzeug import secure_filename
from werkzeug.utils import secure_filename
UPLOAD_FOLDER = '/path/to/the/uploads'
ALLOWED_EXTENSIONS = set(['txt', 'pdf', 'png', 'jpg', 'jpeg', 'gif'])

Loading…
Cancel
Save