Commit graph

116 commits

Author SHA1 Message Date
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.
2011-09-18 15:26:29 -04:00
Ron DuPlain
f6798885e6 Update create_global_jinja_loader docstring, #321. 2011-09-13 21:22:23 -04:00
Armin Ronacher
7d7d810aea Single quotes for consistency 2011-09-10 23:20:58 +02:00
Armin Ronacher
f92a275d54 Merge branch 'master' of github.com:mitsuhiko/flask 2011-09-01 19:51:37 +02:00
Armin Ronacher
ee8417dac8 Late but 2010 -> 2011 in some files 2011-09-01 16:57:00 +02:00
Pedro Algarvio
a9e09ec50e Merge remote-tracking branch 'mitsuhiko/master' 2011-08-31 10:32:59 +01:00
Armin Ronacher
ccf464189b Added finer control over the session cookie parameters 2011-08-30 14:36:50 +02:00
Armin Ronacher
23bf2633f6 Use the _request_ctx_stack instead of the proxy for consistency with the others. 2011-08-29 12:18:25 +02:00
Armin Ronacher
2e4c39199d Refactored logging of internal server errors. Can now be customized 2011-08-26 21:30:41 +02:00
Armin Ronacher
b256e9f36c make_default_options_response now tries to use Werkzeug 0.7 functionality before falling back. 2011-08-26 14:05:08 +01:00
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. 2011-08-25 20:47:50 +01:00
Armin Ronacher
a5da2c98f3 Implemented flask.testing.TestClient.session_transaction for quick session modifications in test environments. 2011-08-25 15:18:39 +01:00
Armin Ronacher
c844d02f1c Added the APPLICATION_ROOT configuration variable which is used by session backends. 2011-08-25 12:13:55 +01:00
Pedro Algarvio
04e87a93de Add endpoint parameter documentation to the route decorator. 2011-08-25 12:01:41 +01:00
Pedro Algarvio
68ec5a3068 Allow passing the endpoint to the route decorators on Flask's application and blueprints. 2011-08-25 11:46:05 +01:00
Armin Ronacher
45d963d6da The session interface is new in 0.8 not 0.7 2011-08-10 23:50:43 +02:00
Armin Ronacher
b3aaf6d5ca Refactored package finding 2011-08-10 23:19:33 +02:00
Armin Ronacher
fb1a6730cf Leave eggs when finding the instance path 2011-08-10 18:00:16 +02:00
Armin Ronacher
74f4af59f6 Added comments for two branches in the instance detection 2011-08-10 17:51:49 +02:00
Armin Ronacher
e328eba97c Corrected prefix detection 2011-08-10 17:51:24 +02:00
Armin Ronacher
175d43b2f9 Instance paths are now moved into virtualenv/share/appname-instance if installed 2011-08-10 17:46:20 +02:00
Armin Ronacher
187cb80dcc Documented instance root 2011-08-10 13:55:57 +02:00
Armin Ronacher
153ecbc920 Implemented instance paths 2011-08-10 13:34:58 +02:00
Armin Ronacher
6847329134 Flask will now give you an error in debug mode if a post request caused a redirect by the routing system. 2011-08-09 14:51:06 +02:00
Armin Ronacher
acac64e36a Don't only catch BadRequest key errors but all bad request errors. 2011-08-08 21:46:53 +02:00
Armin Ronacher
ae00f6d149 Tweaked autodoc to skip :internal: methods. 2011-08-07 14:15:33 +02:00
Armin Ronacher
02a1317460 Added the ability to trigger functions before the first request to the application 2011-08-07 12:43:38 +02:00
Armin Ronacher
5500986971 Flask in debug mode will now complain if views are attached after the first view was handled. 2011-08-07 02:30:34 +02:00
Armin Ronacher
afe5d3cbd4 Added a missing versionadded 2011-08-05 12:37:57 +02:00
Armin Ronacher
7155f11a72 Added HTTP exception trapping. This should fix #294 2011-08-05 12:35:41 +02:00
Armin Ronacher
79aa4ac14d Merge branch 'master' of github.com:mitsuhiko/flask 2011-07-27 22:34:34 +02:00
Simon Sapin
d5cfcfeba7 Intersphinx link fixes. 2011-07-23 11:13:30 -07:00
Armin Ronacher
343e678900 Fixed a typo in a docstring 2011-07-18 23:06:15 +02:00
Armin Ronacher
2866ccda1f Switch to explicit Werkzeug imports 2011-07-15 18:03:48 +02:00
Armin Ronacher
76796c326d Documented view function options 2011-07-14 14:25:14 +02:00
Armin Ronacher
3b31df81ae View functions can opt out of the default OPTIONS implementation 2011-07-14 14:18:42 +02:00
Armin Ronacher
f8b9f4d41c Merge branch 'master' of github.com:mitsuhiko/flask 2011-07-13 14:04:42 +02:00
Armin Ronacher
9d899cd63e Fixed a typo. This closes #278 2011-07-13 14:04:23 +02:00
Jesse Dubay
fd679638ea typo fix: flask -> flag 2011-07-11 15:25:37 -07:00
Armin Ronacher
ebb65b81e1 Removed an unnecessary import. 2011-07-10 13:33:52 +02:00
Armin Ronacher
0fccfe711f Refactored session interface 2011-07-07 11:27:22 +02:00
Armin Ronacher
a101cfc35b Worked around a werkzeug bug with redirects 2011-06-29 18:31:48 +02:00
Armin Ronacher
dcf21989dc Added class based views 2011-06-28 12:45:49 +02:00
Armin Ronacher
ccd5ced70e Chop of ports for session cookies. This fixes #253 2011-06-27 09:40:45 +02:00
Armin Ronacher
2d946b96a1 Merge branch 'master' into blueprints 2011-06-25 12:26:13 +02:00
Armin Ronacher
0e98a08097 Provide ways to override the url rule 2011-06-25 12:26:07 +02:00
Armin Ronacher
62d91d67f3 More documentation updates 2011-06-17 02:45:57 +02:00
Armin Ronacher
abe1378cae Chnaged a bunch of behavior in blueprints for it to be more flexible. Improved backwards compat. 2011-06-16 23:55:49 +02:00
Armin Ronacher
1f31ec4bea Added documentation in update document for new error handling 2011-06-05 10:32:00 +02:00
Armin Ronacher
f5ec9952de Added blueprint specific error handling 2011-06-05 10:27:15 +02:00