Commit graph

179 commits

Author SHA1 Message Date
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
Ron DuPlain
3d6e3e48ad Replace 'module' with 'blueprint' in docstrings. 2011-06-08 10:59:32 -04:00
Armin Ronacher
bfd67764fb Started documentation for blueprints 2011-06-07 15:32:44 +02:00
Armin Ronacher
6dae36f94d Started work on an upgrade script for blueprints 2011-06-05 13:19:28 +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
Simon Sapin
8017febac4 Don't fail for unicode filenames with send_file(add_etags=True) 2011-05-30 15:06:32 +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
Armin Ronacher
f2f806285d Merge pull request #232 from sharoonthomas/master
Fixes Issue #227 where pop causes the session to be modified.
2011-05-24 07:41:27 -07:00
Armin Ronacher
7242abcfb2 Extend the logging from the dynamically set logger class. This fixes #234 2011-05-24 16:34:41 +02:00
Armin Ronacher
9c00f8b787 Merge branch 'master' of github.com:mitsuhiko/flask 2011-05-24 16:31:46 +02:00
Steve Romanow
41952d2b25 respect request charset
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2011-05-24 16:24:24 +02:00
Ron DuPlain
ea77d5e12d Touch up docs according to user feedback. 2011-05-19 09:14:53 -04:00
Sharoon Thomas
57920a5808 Prevent pop if flashes not in session to avoid modification to session fixes #227 2011-05-17 11:41:12 -04:00
Ron DuPlain
15c937b316 Remove ctx.bind() from doc. It doesn't exist. 2011-05-01 16:36:51 -04:00
Armin Ronacher
017117778e Document that None skips in query strings. This fixes #224 2011-04-25 16:02:35 +02:00
Armin Ronacher
a4ea3159a2 Better error messages 2011-04-25 16:01:58 +02:00
Armin Ronacher
e774e3a69e Switch params and example 2011-04-18 23:20:24 +02:00
Armin Ronacher
d8fcd4260e Whitespace normalization 2011-04-18 23:19:59 +02:00
Simon Sapin
7ed3196e8d Add safe_join: returns the filename used by send_from_directory.
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2011-04-18 16:48:12 +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
0ecc686372 Fixed a typo 2011-04-17 19:03:06 +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
5910ef8a43 Lock loader creation 2011-03-18 09:16:33 +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
Aaron Kavlie
67581795c4 Improved botched docstring wording for silent failure.
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2011-03-15 12:19:05 -04:00
Armin Ronacher
fbd488678f Implemented flask.has_request_context() 2011-03-14 16:13:58 -04:00
Matt Chisholm
04e70bd5c7 Add teardown_request decorator. Fixes issue #174 2011-03-14 14:28:15 -04:00
Armin Ronacher
235369fd61 Removed unnecessary import 2011-03-14 14:21:44 -04:00
Armin Ronacher
34a494713c Documented some changes in config handling. 2011-03-14 14:21:28 -04:00
Aaron Kavlie
fa9817778c Test passes.
Added test for silent flag; added import of errno so it passed.
2011-03-14 10:41:22 -04:00
Aaron Kavlie
5cc40f4728 silent option added to 'from_pyfile' to mirror 'from_envvar'. 2011-03-14 10:36:33 -04:00
mvantellingen
b3fc9eb36b Open the session after the request context is pushed on the stack instead of in the constructor. This allows you to access the request context in a custom open_session method.
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2011-03-13 21:24:26 -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
Armin Ronacher
0bf777ed81 Do not use Date, use Last-Modified. This fixes #164 2011-02-05 17:41:02 +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
Dag Odenhall
4a45345fc4 Fix typo in send_file docs
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2011-01-20 16:45:49 +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