Commit graph

75 commits

Author SHA1 Message Date
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
Armin Ronacher
fb88d9d025 Whitespace nazi was here 2010-12-07 22:08:46 +01:00
Armin Ronacher
4b65c7ed5a Added the ability to override the test client's class. This fixes #148 2010-12-06 03:16:13 +01:00
Armin Ronacher
8569dfee61 Added a PROPAGATE_EXCEPTIONS flag 2010-11-29 08:57:38 +01:00
Dag Odenhall
d4c44a7d8c BaseConverter is in werkzeug.routing
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2010-10-25 17:49:37 +02:00
Pedro Algarvio
a327452540 Better handling for test_request_context don't just append the port.
Also implemented a proper initial environment to use with
`Flask.test_app()` based on the application's configuration.

Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2010-10-22 18:19:21 +03:00
Pedro Algarvio
88883aa6db Fix for Flask's ticket 126. A proper environment is now built to use
with `test_request_context()`.

Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2010-10-22 15:36:47 +03:00
Armin Ronacher
1e4e578d73 Added the extensions dictionary on the application 2010-09-12 13:18:08 -07:00
Armin Ronacher
eb67242e1c Fixed a typo in a docstring in app.py 2010-09-10 11:01:58 -07:00
jgraeme
549af62290 Fix some typos in the docstrings 2010-08-03 18:07:41 +08:00
Armin Ronacher
952967fcab In 0.7, make_default_options_response is a public API 2010-07-28 01:39:25 +02:00
Armin Ronacher
dbf55de7e8 Fixed an issue where the default OPTIONS response was
not exposing all valid methods in the `Allow` header.

This fixes #97

Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2010-07-28 01:28:00 +02:00
Armin Ronacher
fee5bdafe8 Code cleanup 2010-07-25 17:34:47 +02:00
Armin Ronacher
7680d52f42 Added support for subdomain bound modules 2010-07-23 13:29:21 +01:00
Armin Ronacher
405d4492e4 Documented more changes 2010-07-17 15:56:58 +02:00
Armin Ronacher
e5008386b1 Added docs on use_evalex. This fixes #90 2010-07-17 15:41:05 +02:00
Armin Ronacher
a3a72e2d8d Added middlewares to quickstart. This fixes #88 2010-07-17 15:39:24 +02:00
Armin Ronacher
91e9632a37 Moved wsgi_app down to a more logical location 2010-07-17 15:26:35 +02:00
Armin Ronacher
e0712b47c6 Added support for signals 2010-07-17 14:39:28 +02:00
Armin Ronacher
f5b8c08284 endpoint is optional for modules. This fixes #86 2010-07-15 14:35:02 +02:00
Armin Ronacher
b1790cca55 Added MAX_CONTENT_LENGTH config key 2010-07-14 10:47:57 +02:00