Browse Source

Fixed an rst error

pull/112/head
Armin Ronacher 15 years ago
parent
commit
dbb3620792
  1. 3
      docs/config.rst
  2. 2
      docs/patterns/fileuploads.rst

3
docs/config.rst

@ -93,7 +93,8 @@ The following configuration values are used internally by Flask:
.. versionadded:: 0.5
``SERVER_NAME``
.. versionadded:: ``MAX_CONTENT_LENGTH``
.. versionadded:: 0.6
``MAX_CONTENT_LENGTH``
Configuring from Files
----------------------

2
docs/patterns/fileuploads.rst

@ -132,7 +132,7 @@ webserver's memory if the files are reasonable small otherwise in a
temporary location (as returned by :func:`tempfile.gettempdir`). But how
do you specify the maximum file size after which an upload is aborted? By
default Flask will happily accept file uploads to an unlimited amount of
memory, but you can limit that by setting the `MAX_CONTENT_LENGTH`
memory, but you can limit that by setting the ``MAX_CONTENT_LENGTH``
config key::
from flask import Flask, Request

Loading…
Cancel
Save