Commit Graph

555 Commits

Author SHA1 Message Date
Ron DuPlain 26da6a5365 Use default send_file max-age consistently.
Prior to this commit, the send_file max-age hook and config were only
used for the static file handler. Now they are used when calling
helpers.send_file directly.
2012-04-24 01:48:05 -04:00
Ron DuPlain 7c79ce6e41 Revise foreword and Becoming Big docs, #484. 2012-04-23 23:42:58 -04:00
Alex Vykalyuk 028229d0ff Fixed typo in docs/quickstart 2012-04-23 00:32:48 +03:00
Alex Vykalyuk 0333c824bf Removed link to ep.io from quickstart 2012-04-21 22:27:24 +03:00
Ron DuPlain fb01187885 Touch up fastcgi doc. 2012-04-20 09:20:20 -04:00
Vadim Pestovnikov 34380b9c1d Add detailed Apache httpd fastcgi configuration. 2012-04-20 09:07:58 -04:00
Ron DuPlain a3cb2a3382 Use American English for "behavior" in docs.
Prompted by plaes on #pocoo, mitsuhiko confirmed to use American English.
2012-04-19 11:51:38 -04:00
Ron DuPlain 10c34e6652 Reword 0.9 upgrade doc, thanks to plaes on #pocoo. 2012-04-19 11:50:08 -04:00
Ron DuPlain b885edf810 Fix typo pointed out by tri on #pocoo. 2012-04-18 15:54:04 -04:00
Ron DuPlain 0d2ffc094b Use 'venv' consistently for virtualenv directory.
Pointed out by tri on #pocoo.
2012-04-18 15:44:07 -04:00
Natan ffbab00cd1 Rectified rampant 'roule'. 2012-04-17 19:28:28 -07:00
Paul McMillan acb61ae57b Minor docs fix. 2012-04-10 13:14:38 -07:00
Armin Ronacher d26af4fd6d Fixed some smaller things in the docs 2012-04-09 17:38:08 +01:00
Armin Ronacher 52f9cefbcd More documentation updates for 0.9 2012-04-09 17:35:16 +01:00
Armin Ronacher 32f845ea75 Added an example for using the db connection without the request 2012-04-09 17:33:14 +01:00
Armin Ronacher 9bed20c07c Added documentation for appcontext and teardown handlers 2012-04-09 17:29:00 +01:00
Armin Ronacher cf1641e5be Changed the implementation of returning tuples from functions 2012-04-09 15:56:33 +01:00
Armin Ronacher 3249eeb438 Merge branch 'master' of github.com:mitsuhiko/flask 2012-04-09 15:26:09 +01:00
Armin Ronacher ab110d8fe5 Documented config changes 2012-04-09 15:24:43 +01:00
Armin Ronacher 0207e90155 Updated docs for the app context. 2012-04-09 15:22:36 +01:00
Ron DuPlain f07199009c Fix reqcontext ref in signals doc. 2012-04-04 11:41:40 -04:00
Ron DuPlain 492ef06bff Clarify use of context-locals with signals. 2012-04-04 11:39:07 -04:00
Ron DuPlain b16c988f1e Fix static endpoint name mention in quickstart. 2012-04-03 20:55:58 -04:00
Kenneth Reitz f46f7155b2 2012 2012-04-01 20:57:50 -04:00
Ron DuPlain df772df24f Touch up run_simple doc, #446. 2012-04-01 11:40:37 -04:00
Ron DuPlain 8740fff907 Merge pull request #446 from jtsoi/patch-1
Debug example with run_simple and flask app.
2012-04-01 08:37:44 -07:00
Ron DuPlain 9ab41edbd7 Touch up proxying docs. 2012-04-01 11:19:51 -04:00
Ron DuPlain 9a1d616706 Add simple proxying nginx config to docs.
Origin:
https://gist.github.com/2269917
2012-04-01 10:57:44 -04:00
Ron DuPlain 976c9576bd Reorder deployment options. 2012-04-01 10:54:27 -04:00
Ron DuPlain 7e4b705b3c Move others.rst to wsgi-standalone.rst. 2012-04-01 10:54:00 -04:00
Sergey e76db15e26 Update docs/quickstart.rst 2012-03-31 10:11:12 +03:00
Simon Sapin e08028de55 pip vs. easy_install consistency 2012-03-27 17:08:55 +03:00
Kenneth Reitz 079c5ef7ff Merge pull request #445 from iammookli/patch-1
Update docs/patterns/mongokit.rst
2012-03-20 19:01:28 -07:00
Filip Ristić c2661dd4bc Update docs/patterns/packages.rst 2012-03-20 22:07:58 +01:00
jtsoi fe9f5a4768 Added an example of how to configure debugging with run_simple, it has to be enabled both for the Flask app and the Werkzeug server. 2012-03-16 09:38:40 +01:00
iammookli 73cb15ed2c Update docs/patterns/mongokit.rst 2012-03-15 18:20:17 -07:00
Ron DuPlain d626787a34 Merge pull request #438 from garbados/improve_foreword
Improve foreword
2012-03-13 19:17:29 -07:00
Ron DuPlain 9601016157 Merge pull request #441 from wilsaj/docfix-route-converter-unicode-string
docfix: wrong converter name: unicode -> string  fixes #364
2012-03-13 17:00:35 -07:00
Ron DuPlain a5d1cf415e Merge pull request #440 from jamesls/extension-docs
Reword the docs for writing a flask extension
2012-03-13 17:00:18 -07:00
Ron DuPlain d94efc6db6 Expose send_file max-age as config value, #433.
Need to add the same hook in a Blueprint, but this is the first such
case where we need app.config in the Blueprint.
2012-03-13 16:34:16 -07:00
Ron DuPlain c1a2e3cf14 Add Rule #0 to extension development. 2012-03-13 13:41:03 -07:00
Ron DuPlain 3bf1750b5d Tighten quickstart deployment docs. 2012-03-13 12:12:47 -07:00
Ron DuPlain 1d1db80e06 Merge pull request #427 from kevinburke/fix-existing-tutorial
add heroku/deploy options to quickstart, and add clearer links in tutorial setup
2012-03-13 11:47:04 -07:00
Ron DuPlain 4e9b7867c9 Merge pull request #411 from PaulMcMillan/docs_fix
Remove redundant words from quickstart.
2012-03-13 11:43:13 -07:00
Max 8f568cfc19 Split foreword into two files; edited lots. 2012-03-12 17:12:55 -07:00
James Saryerwinnie 8d1546f8e6 Reword the docs for writing a flask extension
There was a minor bug in the example extension that's
been fixed.

I also updated the description of the fixed code accordingly, and
expanded on the usage of _request_ctx_stack.top for adding data
that should be accesible to view functions.

I verified that the existing code as is works as expected.
2012-03-12 16:28:39 -07:00
wilsaj a77938837c docfix: wrong converter name: unicode -> string fixes #364 2012-03-12 18:01:11 -05:00
Max c78070d862 Wrapped paragraphs; changed some words. 2012-03-12 15:08:52 -07:00
Max d8c2ec4cd8 Fixed linebreaks. 2012-03-12 15:03:26 -07:00
Max 74a72e86ad Changed some things in the foreward to diminish its discouragement. 2012-03-12 14:58:26 -07:00