Ryan Macy
7233a3e0a2
Fixed typo occours to occurs
...
Fixed a typo in the docstring of handle_exception. Was occours, now occurs.
13 years ago
Finbarr O'Callaghan
e93447f25e
actually to actual, again, fixed spelling, not grammar
13 years ago
Finbarr O'Callaghan
48f7cdd016
various typo fixes
13 years ago
Paul McMillan
20a542fc8a
docstring typo
13 years ago
Armin Ronacher
086348e2f2
Added after_this_request decorator.
13 years ago
Armin Ronacher
dbfd406a21
Added required_methods
13 years ago
Armin Ronacher
2053d04db0
Improved interface for the URL build error handler
13 years ago
Ron DuPlain
e78e2a1641
Document example request_globals_class use cases.
13 years ago
Ron DuPlain
33bae1a8dc
Add Flask.request_globals_class to customize g.
...
Requested by toothr on #pocoo.
13 years ago
Ron DuPlain
26da6a5365
Use default send_file max-age consistently.
...
Prior to this commit, the send_file max-age hook and config were only
used for the static file handler. Now they are used when calling
helpers.send_file directly.
13 years ago
Ron DuPlain
148c50abf9
Document url_for BuildError hook.
13 years ago
Ron DuPlain
8c8c524ddb
Re-raise BuildError with traceback.
13 years ago
Ron DuPlain
bb31188ec3
Add a BuildError hook to url_for, #456 .
13 years ago
ekoka
36194697ae
Update flask/app.py
13 years ago
Ron DuPlain
a3cb2a3382
Use American English for "behavior" in docs.
...
Prompted by plaes on #pocoo, mitsuhiko confirmed to use American English.
13 years ago
Armin Ronacher
9bed20c07c
Added documentation for appcontext and teardown handlers
13 years ago
Armin Ronacher
cf1641e5be
Changed the implementation of returning tuples from functions
13 years ago
Armin Ronacher
307d1bc4e5
Added support for basic URL generation without request contexts.
13 years ago
Armin Ronacher
47288231fe
Implemented a separate application context.
13 years ago
Ron DuPlain
d94efc6db6
Expose send_file max-age as config value, #433 .
...
Need to add the same hook in a Blueprint, but this is the first such
case where we need app.config in the Blueprint.
13 years ago
James Saryerwinnie
075b6b11c8
Fix issue 140
...
This allows for a view function to return something like:
jsonify(error="error msg"), 400
13 years ago
Ron DuPlain
56177bcbd1
Document app.testing=True for test client, #381 .
13 years ago
Ron DuPlain
49b77fbc7a
Add missing colons to versionadded.
13 years ago
Ron DuPlain
19d32cb172
Update Flask.run signature, note defaults.
13 years ago
Joe Esposito
46e7bc7083
In Flask.run, now when the host/port argument is None, it will use its default value.
13 years ago
Ron DuPlain
ce4d589d5b
Add non-decorator template filter methods.
...
Suggested by @Poincare on GitHub, on @Reisen's pull request:
https://github.com/mitsuhiko/flask/pull/272
13 years ago
Armin Ronacher
d628df6ab6
Store session after callbacks. This fixes #351
13 years ago
Armin Ronacher
8da8a21b69
Moved the conversion thing into the ConfigAttribute.
14 years ago
Armin Ronacher
6dccf77546
PERMANENT_SESSION_LIFETIME can now be an integer. This fixes #310
14 years ago
Armin Ronacher
df1dd57045
Cleaned up url routing common docs. This fixes #279
14 years ago
Armin Ronacher
d2eefe25e7
app.name shall be __main__ for console apps
14 years ago
Ron DuPlain
90884a78fb
Cross-reference debug docs in run docstring.
14 years ago
Simon Sapin
907c24e6ff
Document the debug param for Flask.run, it is not part of **options given to run_simple.
...
I am not sure bool() is appropriate.
14 years ago
Ron DuPlain
f6798885e6
Update create_global_jinja_loader docstring, #321 .
14 years ago
Armin Ronacher
7d7d810aea
Single quotes for consistency
14 years ago
Armin Ronacher
ee8417dac8
Late but 2010 -> 2011 in some files
14 years ago
Armin Ronacher
ccf464189b
Added finer control over the session cookie parameters
14 years ago
Armin Ronacher
23bf2633f6
Use the _request_ctx_stack instead of the proxy for consistency with the others.
14 years ago
Armin Ronacher
2e4c39199d
Refactored logging of internal server errors. Can now be customized
14 years ago
Armin Ronacher
b256e9f36c
make_default_options_response now tries to use Werkzeug 0.7 functionality before falling back.
14 years ago
Armin Ronacher
e853a0f739
The test client and test_request_context are now both using the same logic internally for creating the environ. Also they use APPLICATION_ROOT now.
14 years ago
Armin Ronacher
a5da2c98f3
Implemented flask.testing.TestClient.session_transaction for quick session modifications in test environments.
14 years ago
Armin Ronacher
c844d02f1c
Added the APPLICATION_ROOT configuration variable which is used by session backends.
14 years ago
Pedro Algarvio
04e87a93de
Add endpoint parameter documentation to the route decorator.
14 years ago
Pedro Algarvio
68ec5a3068
Allow passing the endpoint to the route decorators on Flask's `application` and `blueprints`.
14 years ago
Armin Ronacher
45d963d6da
The session interface is new in 0.8 not 0.7
14 years ago
Armin Ronacher
b3aaf6d5ca
Refactored package finding
14 years ago
Armin Ronacher
fb1a6730cf
Leave eggs when finding the instance path
14 years ago
Armin Ronacher
74f4af59f6
Added comments for two branches in the instance detection
14 years ago
Armin Ronacher
e328eba97c
Corrected prefix detection
14 years ago