Commit graph

95 commits

Author SHA1 Message Date
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
Armin Ronacher
db28217574 Fixed a bug, view_args not values 2011-05-29 20:05:39 +02:00
Armin Ronacher
4d6cd1a390 URL building should work in theory 2011-05-29 19:56:16 +02:00
Armin Ronacher
5da1fc2215 Started work on URL value preprocessors 2011-05-29 19:52:10 +02:00
Armin Ronacher
f7e71b518f Register most stuff only once 2011-05-29 18:55:06 +02:00
Armin Ronacher
7a08331ac0 Latest iteration of the blueprint code. Far from being done 2011-05-29 15:54:58 +02:00
Armin Ronacher
673fa18e6d Merge branch 'new-request-dispatching' into blueprints 2011-05-28 15:14:07 +02:00
Armin Ronacher
086ecdb918 Better reraising of exceptions 2011-05-28 15:11:48 +02:00
Armin Ronacher
115d31ddbf More documentation updates 2011-05-27 20:29:03 +02:00
Armin Ronacher
e71a5ff8de Started work on new request dispatching. Unittests not yet updated 2011-05-27 20:10:53 +02:00
Ron DuPlain
15c937b316 Remove ctx.bind() from doc. It doesn't exist. 2011-05-01 16:36:51 -04:00
Armin Ronacher
a4ea3159a2 Better error messages 2011-04-25 16:01:58 +02:00
Rémy Roy
709ecefee1 Updating documentation for app.after_request decorator.
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2011-04-18 16:39:33 +02:00
Armin Ronacher
a06cd0a644 Started work on implementing blueprint based template loading 2011-03-19 03:28:39 +01:00
Armin Ronacher
1446614915 Added deprecation warnings for modules 2011-03-18 09:30:56 +01:00
Armin Ronacher
0da56d7f5c deprecated init_jinja_globals 2011-03-18 09:15:28 +01:00
Armin Ronacher
4c8c503326 break line 2011-03-18 09:00:24 +01:00
Matt Chisholm
04e70bd5c7 Add teardown_request decorator. Fixes issue #174 2011-03-14 14:28:15 -04:00
Armin Ronacher
00c5b7a937 added create_jinja_loader 2011-02-21 21:56:37 +01:00
Sean Reifschneider
1643e5c391 Fixing a word usage issue in docs.
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2011-02-17 22:37:23 +01:00
mvantellingen
b0ca7e5af1 Implement the endpoint decorator. This allows you to easily map views to endpoints when using the werkzeug routing.
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2011-01-24 13:49:11 +01:00
Armin Ronacher
99be2ec022 Flask no longer internally depends on rules being added through the add_url_rule function 2011-01-16 17:13:25 +01:00