Fixed an rst error

This commit is contained in:
Armin Ronacher 2010-07-15 21:22:11 +02:00
parent 82b143f972
commit dbb3620792
2 changed files with 3 additions and 2 deletions

View file

@ -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
----------------------

View file

@ -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