Commit graph

694 commits

Author SHA1 Message Date
Armin Ronacher
51d7c8de7d Merge branch 'master' of github.com:mitsuhiko/flask 2013-09-01 01:43:24 +06:00
Armin Ronacher
05161d3584 Rewrote tutorial to use the g based appcontext object 2013-09-01 01:32:41 +06:00
Adam Obeng
9cff681f97 Fix typo 2013-08-24 21:21:18 -04:00
Jochen Kupperschmidt
8246ce6a15 Fixed tiny but distracting typo. 2013-08-11 15:59:46 +02:00
Bill Mill
159ae3dc26 Fix doc bug, clarify use of make_dicts 2013-07-31 22:06:15 -04:00
Armin Ronacher
559ae196e7 Merge branch 'master' of github.com:mitsuhiko/flask 2013-07-30 16:45:23 +02:00
Armin Ronacher
d1d835c023 Added SESSION_REFRESH_EACH_REQUEST config option.
This also changes how sessions are being refreshed.  With the new
behavior set-cookie is only emitted if the session is modified or if the
session is permanent.  Permanent sessions can be set to not refresh
automatically through the SESSION_REFRESH_EACH_REQUEST config key.

This fixes #798.
2013-07-30 16:43:54 +02:00
Armin Ronacher
1982c208ce Merge pull request #808 from untitaker/issue782
Fix #782 -- /tmp/ in tutorial
2013-07-26 16:28:08 -07:00
Markus Unterwaditzer
fd9bf8f376 Fix #782 -- /tmp/ in tutorial 2013-07-27 01:21:01 +02:00
Armin Ronacher
afa33e37ec Merge pull request #800 from nZac/issue#783
cleared up confusion for from_envvar in docs
2013-07-26 14:47:11 -07:00
Armin Ronacher
c541f7e3ee Fixed a typo 2013-07-26 23:44:40 +02:00
Eric Radman
73b4a52ca5 Update example for Apache FCGI config to use worker processes using FastCgiServer, along with some notes about FastCgiExternalServer 2013-07-26 15:07:40 -04:00
Armin Ronacher
6a621440ef Merge branch 'master' of github.com:mitsuhiko/flask 2013-07-24 21:48:47 +02:00
Armin Ronacher
e59e00576d Fixed a documentation typo 2013-07-24 21:48:28 +02:00
Nick Zaccardi
5ace060e5e cleared up confusion for from_envvar 2013-07-22 09:03:57 -05:00
Chris Rebert
f632ba25e0 api.rst: fix some spelling/typos 2013-07-22 02:12:17 -07:00
Daniel Neuhäuser
c8961c6dc9 Merge pull request #786 from mgaitan/patch-1
Missing `s` in a plural word
2013-07-01 06:44:03 -07:00
Martín Gaitán
4028e2395c plural 2013-06-30 13:17:39 -03:00
BobStevens
9fe209b497 fixed typo 2013-06-27 16:32:20 -04:00
BobStevens
e2fdf28e97 word change for clarity
changed "200 error code" to "200 status code"
2013-06-27 16:31:04 -04:00
Igor Mozharovsky
a225a304b8 Fix typo 2013-06-23 03:36:20 +03:00
Stefano Costa
582a5c7b89 Correct small typo in internal link 2013-06-14 16:35:46 +03:00
Armin Ronacher
ec5291e46d Fixed invalid reference 2013-06-13 09:37:09 +01:00
Armin Ronacher
335cbe01ce Fixed a typo 2013-06-11 20:18:26 +01:00
Armin Ronacher
f9f8180f15 Added documentation on API error handlers 2013-06-09 17:26:10 +01:00
Armin Ronacher
fc2225b463 Fixed a broken link in the docs 2013-06-09 12:47:01 +01:00
Armin Ronacher
f9846b9055 Added requirements for Python 3 2013-06-09 12:46:01 +01:00
Armin Ronacher
0ac9582113 Added notes on Python 3 2013-06-09 12:42:24 +01:00
Armin Ronacher
2c9c269284 Fixed a broken reference 2013-06-09 12:32:12 +01:00
Armin Ronacher
29bda590b2 Modernized docs in a few places 2013-06-09 12:30:27 +01:00
Armin Ronacher
e2d4aa1207 Added a missing note to the docs 2013-06-09 12:23:14 +01:00
Armin Ronacher
c889fbc231 Changed interface for flask.g
This now makes it behave like it did before, it's just an object.
It did however gain ``__contains__`` and ``__iter__`` and I added
a ``get()`` method to fetch an attribute without raising an
error.  This fixes #759.
2013-06-09 12:06:33 +01:00
Armin Ronacher
681cb8f366 Switch to teardown_appcontext for docs in sqlalchemy pattern 2013-06-07 15:42:49 +01:00
Armin Ronacher
93073489a0 Documented changes on the g object some more 2013-06-05 10:02:33 +01:00
Armin Ronacher
1f6be7ff63 Added example on faking resources and context 2013-06-05 09:58:28 +01:00
Armin Ronacher
0676bb8ab5 Added appcontext_pushed and appcontext_popped signals 2013-06-05 09:53:26 +01:00
Armin Ronacher
ef72b78042 Imply the |safe on tojson in templates and change escaping logic 2013-06-03 12:25:08 +01:00
Armin Ronacher
77d293cf49 Order JSON keys by default to avoid trashing HTTP caches 2013-06-01 19:24:03 +01:00
Armin Ronacher
3d9055b3b7 Added the JSONIFY_PRETTYPRINT_REGULAR config variable. This fixes #725 2013-06-01 00:20:00 +01:00
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
40fad2ece8 document python 2.6 minimum requirement, remove all stuff that refers to 2.5 2013-05-18 17:06:25 +02:00
Armin Ronacher
7265bb7fa0 Merge pull request #676 from lambdadi/master
Database improperly closed in the test case within this tutorial
2013-05-14 03:49:50 -07:00
Armin Ronacher
18673ba370 Added uuid support for new session serialization and documented it 2013-05-14 11:33:36 +01:00
Armin Ronacher
ef62e8440e Merge pull request #702 from edburnett/master
AJAX with jQuery documentation update
2013-05-14 03:25:49 -07:00
Armin Ronacher
833198c91b Added a missing comma 2013-05-14 11:23:31 +01:00
Armin Ronacher
30d9efb24a Merge branch 'master' of github.com:mitsuhiko/flask 2013-05-14 11:00:45 +01:00
Armin Ronacher
097353695e Added flask.copy_current_request_context which simplies working with greenlets 2013-05-14 11:00:04 +01:00
Kenneth Reitz
1441e02256 Merge pull request #714 from jsnmoon/master
Fixed documentation typo
2013-05-03 10:12:00 -07:00
Akshar Raaj
a9b22af9bc Fixed documentation in 'Design Decisions in Flask' 2013-05-03 17:42:15 +05:30
Jason Moon
d1bf82b0f4 Fixed typo in URL Processor documentation 2013-04-14 00:10:38 -07:00