Commit graph

672 commits

Author SHA1 Message Date
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
Armin Ronacher
0faed95385 Documented new signal message_flashed 2013-04-08 15:49:55 +01:00
Ed Burnett
0a5d62f9ee Updated jquery.rst with the current Google Developer hosted libraries URL and jquery version 2013-03-26 16:56:05 -07:00
=
1723990aee Fixed a few typos on quickstart 2013-03-26 21:23:55 +00:00
Armin Ronacher
4366bb392a Documented new signal message_flashed 2013-03-21 21:04:06 +00:00
Armin Ronacher
0a29c295cd Merge pull request #692 from mikegagnon/patch-1
fix typo in quickstart guide
2013-03-21 13:57:47 -07:00
Markus Unterwaditzer
9d8674d5b6 Added more information about app factories. 2013-03-17 21:42:30 +01:00
Michael N. Gagnon
8a6cba9e63 fix typo in quickstart guide 2013-03-15 07:31:00 -07:00
Kenneth Reitz
b9118ca0cc Merge pull request #681 from dmizelle/docs-quickstart
fixes #677 - mistype in docs/quickstart
2013-03-06 09:53:36 -08:00
Kenneth Reitz
aa83d9132f Merge pull request #683 from alexcouper/master
Tiny changes to docs
2013-03-06 09:52:47 -08:00
OrangeTux
cc5d6134c7 Update css.rst
Improved consistency: lower cased all hexadecimal descriptions of colors.
2013-02-28 11:12:16 +01:00
Alex Couper
1be13297c1 Remove comma. 2013-02-22 15:34:16 +00:00
Alex Couper
8ee01ad5ed Put the link to Flask class docs at the end. 2013-02-22 15:33:20 +00:00
Alex Couper
cc8a85d753 Move docs explaining instantiating Flask 2013-02-22 11:21:17 +00:00
Alex Couper
a92588f161 Add closing html tag 2013-02-22 11:15:40 +00:00
Devon Mizelle
c999c179a2 fixes #677 - mistype in docs/quickstart 2013-02-17 11:04:20 -05:00
lambdadi
a754d28302 Database improperly closed in example code
os.unlink(flaskr.DATABASE) causes the actual application database to be
purged; whereas, I reckon, one wants the _test_ database to be removed.
So every time I ran it, the test passed, but ended up crashing the live
app for want of a valid database.

I avoided using the sample code in examples/flaskr thus far, as I chose
to type out code from the turorial docs. The actual example code looks
good - at least to my beginner's eye.
2013-02-11 18:55:24 +05:30
Armin Ronacher
05f162329d Added celery pattern 2013-01-27 00:38:25 +00:00
Kenneth Reitz
3fdcefbcda Merge pull request #625 from soulseekah/master
Use sqlite3.Row factory in Flaskr (#588)
2013-01-24 20:22:02 -08:00
Kenneth Reitz
1e14783abd Merge pull request #665 from trungly/deferred_callbacks_fix
Update docs/patterns/deferredcallbacks.rst
2013-01-24 19:02:30 -08:00
Trung Ly
b4fc4412e8 Update docs/patterns/deferredcallbacks.rst
fix example code in Deferred Callback docs: don't set response upon executing callback
2013-01-14 14:53:06 -08:00
Baiju Muthukadan
7a3d74f19f WSGI specification has finalized for Python 3
Mention Python 3.x is not supported
2013-01-04 14:40:08 +05:30
Kenneth Reitz
ff2e8449ff 2013 2012-12-31 18:00:58 -05:00