Skip to content
Myr

Merge pull request #1716 from lord63-forks/fix-typo

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

Fix typo

authored by Kenneth Reitz · committed by Kenneth Reitz · parents 22270d0, 07fdd19 · Browse files · 3 files+5 added−7 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+5 added−7 removed

  • other:+5 added−7 removed

3 files+5 added−7 removed

modified:docs/reqcontext.rst+1 added-1 removed
67 unmodified lines
68 def wsgi_app(self, environ):69 with self.request_context(environ):70 try:71 response = self.full_dispatch_request()72 except Exception, e:72 except Exception as e:73 response = self.make_response(self.handle_exception(e))74 return response(environ, start_response)7576The method :meth:`~Flask.request_context` returns a new
147 unmodified lines
modified:flask/app.py+3 added-5 removed
419 unmodified lines
420421 #: A dictionary with lists of functions that should be called after422 #: each request. The key of the dictionary is the name of the blueprint423 #: this function is active for, ``None`` for all requests. This can for424 #: example be used to open database connections or getting hold of the425 #: currently logged in user. To register a function here, use the426 #: :meth:`after_request` decorator.424 #: example be used to close database connections. To register a function425 #: here, use the :meth:`after_request` decorator.426 self.after_request_funcs = {}427428 #: A dictionary with lists of functions that are called after429 #: each request, even if an exception has occurred. The key of the
359 unmodified lines
789 traceback screen active, but disable code execution.790791 It is not recommended to use this function for development with792 automatic reloading as this is badly supported. Instead you should794 be using the :command:`flask` command line script's ``runserver``795 support.793 be using the :command:`flask` command line script's ``run`` support.794795 .. admonition:: Keep in Mind796797 Flask will suppress any server error with a generic error page
1187 unmodified lines
modified:flask/config.py+1 added-1 removed
220 unmodified lines
221 app.config['IMAGE_STORE_PATH'] = '/var/app/images'222 app.config['IMAGE_STORE_BASE_URL'] = 'http://img.website.com'223 image_store_config = app.config.get_namespace('IMAGE_STORE_')224225 The resulting dictionary `image_store` would look like::225 The resulting dictionary `image_store_config` would look like::226227 {228 'type': 'fs',229 'path': '/var/app/images',
29 unmodified lines