Commit Graph

20 Commits

Author SHA1 Message Date
Thomas Waldmann 8bb972e5ae fix minitwit/flaskr test errors, improve docs about file open mode
app.open_resource needs to get called with the correct mode param (python3
will read bytes [not str] if the wrong mode is used), add mode param docs.

rv.data is bytes, fix the data type we compare it with to be also bytes
2013-05-25 19:13:48 +02:00
Thomas Waldmann e1d356fb71 ported some more stuff to py 3.3
removed init_jinja_globals hack from app.py after consulting mitsuhiko
(didn't work on py 3.3 "as is")

removed with_statement future imports, not needed any more

needs more work on 2.7 as well as on 3.3
2013-05-22 01:33:04 +02:00
Armin Ronacher c2e5799879 Updated examples to new sqlite patterns and added new section to appcontext docs 2012-10-09 14:02:32 -05:00
Armin Ronacher d3ca55177a Updated the docs and examples to non-failing teardown handlers 2011-08-25 20:56:43 +01:00
Armin Ronacher b51ecd7f21 Updated examples 2011-05-27 20:29:47 +02:00
Armin Ronacher 164067920b Updated examples to work with pypy which has a incomplete sqlite3 in 1.4. Also disable a euc-kr test that does not work on pypy 2010-12-01 17:22:55 +01:00
Armin Ronacher dfecc86dd3 Ported examples over to new config. documented upgrading 2010-05-27 21:17:25 +02:00
Armin Ronacher e432d833b5 Fixed stuff I broke 2010-05-27 13:30:54 +02:00
Armin Ronacher 9d19b77acf Added lazyloading pattern and explicit chapter links in tutorial.
This fixes #49.
2010-05-26 14:49:01 +02:00
florentx 3c821a0fa4 Fix typos and remove unused import. 2010-04-20 18:40:58 +02:00
Armin Ronacher 73a47a0db1 Removed unused stuff from minitwit and fixed a bug. 2010-04-18 23:42:11 +02:00
Armin Ronacher fb2d2e446b request_init -> before_request and request_shutdown -> after_request
This fixes #9.
2010-04-16 11:03:16 +02:00
Armin Ronacher 2f5a4f8dbc Doc updates and typo fixes 2010-04-12 00:14:59 +02:00
Armin Ronacher f2dc38cda6 Added tests for minitwit. Testing with Flask is awesome 2010-04-11 18:45:06 +02:00
Armin Ronacher 03168a5d53 Removed the useless apishowcase example 2010-04-11 17:58:45 +02:00
Armin Ronacher 727c701686 And finished documentation for most parts. 2010-04-09 13:40:05 +02:00
Armin Ronacher 4aa76212d1 Updated documentation. Starting to look pretty good 2010-04-09 01:32:39 +02:00
Armin Ronacher 3b36bef2e6 Improved documentation, added a contextmanager for request binding 2010-04-08 19:03:15 +02:00
Armin Ronacher 4ec7d2a0d8 Started working on documentation.
So far just the stable parts :)
2010-04-06 16:02:14 +02:00
Armin Ronacher 33850c0ebd Initial checkin of stuff that exists so far. 2010-04-06 13:12:57 +02:00