Commit Graph

159 Commits

Author SHA1 Message Date
Armin Ronacher f9ea3fe026 1.0 -> 0.11 in the docs 2016-05-26 20:52:17 +02:00
Armin Ronacher a7d829c618 Update docs to the new CLI patterns 2016-05-26 20:45:50 +02:00
lord63 e0a8fd3162 Add two missing converters for flask in the docs
All converters are from werkzeug's builtin converters.

Documentation: http://werkzeug.pocoo.org/docs/dev/routing/#builtin-converters
2016-04-01 14:05:11 -07:00
ThiefMaster bbaf20de7c Add pop and setdefault to AppCtxGlobals 2015-06-20 18:04:58 +02:00
Alexander Pantyukhin a9066a3756 Changes and docs are modified. 2015-06-17 15:45:37 +02:00
Markus Unterwaditzer beec47a7cc Deduplicate signals docs
Triggered by #1390
2015-06-10 18:42:55 +02:00
Ford Hurley d398780852 Mention that custom converters can be defined for url routes 2015-05-01 12:11:55 -04:00
Markus Unterwaditzer 9c1cf1bc08 Fix broken link 2015-03-05 22:04:53 +01:00
Bruce Sutherland 0d86a89420 Wrap text. 2015-01-22 09:12:18 +09:00
Bruce Sutherland 871077c81c Show requested URI as suggested by untitaker. 2015-01-21 20:52:42 +09:00
Bruce Sutherland 77141c1eca Update api.rst
Changed Japanese text to pi symbol, emphasize that values are unicode.
2015-01-21 15:00:38 +09:00
Bruce Sutherland 3bbe869dd7 Clarify contents of request properties.
Change URL to IRI and update examples to include extended characters.
2015-01-21 14:09:30 +09:00
Prakash Pandey 4d8cba917e Fixed wording 2014-12-09 22:46:10 +05:30
pkuphy fbe3e81818 Update api.rst
is an -> if a
2014-12-05 02:53:30 +08:00
defuz d6f5eb8def docs: `script` -> ``script`` 2014-11-05 07:56:03 +03:00
defuz 3fa4fd0908 docs: http method names like ``GET`` and ``POST`` 2014-11-05 06:13:01 +03:00
defuz 8284217593 docs: ``True``, ``False`` and ``None`` 2014-11-05 06:04:58 +03:00
boreq 3bd9cdce94 Added full_path to the Request object documentation. 2014-08-31 18:09:53 +02:00
Paulo Bu b81f72070e Fix warnings and code styling in the doc
There was a blank line missing that was generating a warning when
building the doc. Also, a removed function from cli.py was left in api.rst
(without_appcontext specifically) so this was also generating warnings.

Also corrects the format for a code block and adds a link to Werkzeug's Headers
class.
2014-08-28 16:51:53 +02:00
Armin Ronacher afb613ca43 Added some missing documentation information. 2014-08-26 10:03:15 +02:00
Armin Ronacher 932f7d7cbb Refactored the scripting interface greatly. 2014-08-25 16:50:22 +02:00
Armin Ronacher 3569fc2441 Greatly refactored click integration and documented it a bit more. 2014-05-07 21:35:51 +02:00
Daniel Neuhäuser 34871a286e Switch pypi links to https
To which the http version redirects permanently
2014-04-26 01:30:28 +02:00
Armin Ronacher f5a02b9495 Added a warning about key sorting 2014-02-08 16:27:26 +00:00
Nicholas Zaccardi ea656a8909 added a note to the api documentation about JSON_SORT_KEYS. Fixes #922 2014-01-24 19:21:24 -06:00
Jochen Kupperschmidt 8246ce6a15 Fixed tiny but distracting typo. 2013-08-11 15:59:46 +02:00
Chris Rebert f632ba25e0 api.rst: fix some spelling/typos 2013-07-22 02:12:17 -07:00
Igor Mozharovsky a225a304b8 Fix typo 2013-06-23 03:36:20 +03: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 93073489a0 Documented changes on the g object some more 2013-06-05 10:02:33 +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 18673ba370 Added uuid support for new session serialization and documented it 2013-05-14 11:33:36 +01:00
Armin Ronacher 097353695e Added flask.copy_current_request_context which simplies working with greenlets 2013-05-14 11:00:04 +01:00
Armin Ronacher 0faed95385 Documented new signal message_flashed 2013-04-08 15:49:55 +01:00
Armin Ronacher 1949c4a9ab flask.g is now on the app context and not the request context 2012-12-21 11:45:42 +01:00
Armin Ronacher b146d8277a Added wrapper module around simplejson/json for much simplified customization. 2012-10-07 23:31:48 +02:00
Armin Ronacher a4977cfe2b Removed outdated section in the docs 2012-08-11 03:13:16 +01:00
Armin Ronacher 4df3bf2058 Implemented experimental JSON based sessions 2012-08-11 02:36:14 +01:00
Armin Ronacher d5218997d9 Added flask.stream_with_context 2012-06-27 15:06:39 +01:00
Armin Ronacher 086348e2f2 Added after_this_request decorator. 2012-05-08 13:14:32 +01:00
Armin Ronacher dbfd406a21 Added required_methods 2012-05-08 12:51:26 +01:00
Natan ffbab00cd1 Rectified rampant 'roule'. 2012-04-17 19:28:28 -07:00
Armin Ronacher 9bed20c07c Added documentation for appcontext and teardown handlers 2012-04-09 17:29:00 +01:00
Armin Ronacher 3249eeb438 Merge branch 'master' of github.com:mitsuhiko/flask 2012-04-09 15:26:09 +01:00
Armin Ronacher 0207e90155 Updated docs for the app context. 2012-04-09 15:22:36 +01:00
wilsaj a77938837c docfix: wrong converter name: unicode -> string fixes #364 2012-03-12 18:01:11 -05:00
FND 4aebc267bc Hyphenate "class-based"
makes it more readable
2012-01-31 13:54:52 +01:00
awsum d620ea7ea2 Update docs/api.rst a bit to reflect code. 2012-01-16 13:42:43 -05:00
Ross Lawley 11c9bf2943 Api fix status_code => status 2011-10-17 13:12:12 +00:00
Armin Ronacher 363d9ed10d More doc typo fixes 2011-09-25 19:24:37 +02:00
Armin Ronacher 6dccf77546 PERMANENT_SESSION_LIFETIME can now be an integer. This fixes #310 2011-09-25 19:12:41 +02:00
Armin Ronacher 83b1da8df8 Inserted verb 2011-09-25 19:01:30 +02:00
Armin Ronacher 142c9c391b Fixed typos in copy/pasted text 2011-09-25 18:56:15 +02:00
Armin Ronacher df1dd57045 Cleaned up url routing common docs. This fixes #279 2011-09-25 18:49:00 +02:00
Armin Ronacher 1e6c5f0975 Documented flask.ext. 2011-09-18 12:51:10 +02:00
Armin Ronacher e853a0f739 The test client and test_request_context are now both using the same logic internally for creating the environ. Also they use APPLICATION_ROOT now. 2011-08-25 20:47:50 +01:00
Armin Ronacher a5da2c98f3 Implemented flask.testing.TestClient.session_transaction for quick session modifications in test environments. 2011-08-25 15:18:39 +01:00
Armin Ronacher 63876614b6 Removed second mention of json. This fixes #290 2011-08-09 16:16:04 +02:00
Armin Ronacher 92c7bdd2dd Documented Request.headers 2011-08-09 15:16:41 +02:00
Armin Ronacher 153d727d1f Fixed the docs for the request object. They were incomplete 2011-07-30 02:07:31 +02:00
Armin Ronacher 6ca321c979 Added a versionadded 2011-07-14 14:25:50 +02:00
Armin Ronacher 76796c326d Documented view function options 2011-07-14 14:25:14 +02:00
Armin Ronacher deb513c7fe The session interface is new in 0.8, not 0.7 2011-07-08 14:38:49 +02:00
Armin Ronacher 0fccfe711f Refactored session interface 2011-07-07 11:27:22 +02:00
Armin Ronacher 22d468e190 Less annoying gender neutral forms 2011-06-28 14:34:07 +02:00
Armin Ronacher b36d7b3288 Added class based view documentation 2011-06-28 14:24:54 +02:00
Armin Ronacher 4e47ea9105 Merge branch 'master' into blueprints 2011-06-27 09:30:39 +02:00
Jeffrey Finkelstein 12761bd02c fixed pronoun gender in documentation 2011-06-26 21:43:48 -04:00
Armin Ronacher 86175054d6 More docstrings for blueprints. 2011-06-17 20:27:25 +02:00
Armin Ronacher e71a5ff8de Started work on new request dispatching. Unittests not yet updated 2011-05-27 20:10:53 +02:00
Simon Sapin 7ed3196e8d Add safe_join: returns the filename used by send_from_directory.
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2011-04-18 16:48:12 +02:00
Armin Ronacher fbd488678f Implemented flask.has_request_context() 2011-03-14 16:13:58 -04:00
matt swanson 4141afa22b fixing cross-reference links on API doc page 2011-03-13 15:32:19 -09:00
Dag Odenhall 384ad219cb Typo in docs
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2011-01-20 16:46:03 +01:00
Daniel D. Beck 4f1b086218 Fixed: incorrect indentation level for session's permanent attribute
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2010-11-02 00:05:08 +01:00
Ron DuPlain 216478f715 docs: Finished sentence on Notes on Proxies. 2010-10-07 19:32:07 +08:00
Armin Ronacher 3b0eb0f3ca Added notes on proxies 2010-07-20 10:12:58 +01:00
Armin Ronacher c360f005c3 Added signal documentation 2010-07-17 15:25:53 +02:00
Armin Ronacher e0712b47c6 Added support for signals 2010-07-17 14:39:28 +02:00
Armin Ronacher 6fc1492357 Added make_response 2010-07-17 11:36:16 +02:00
Armin Ronacher c34b03e9a6 Documented send_from_directory 2010-07-05 10:25:51 +02:00
Armin Ronacher 881aa3ab2d Fixed an rst syntax error 2010-06-29 15:59:55 +02:00
Armin Ronacher 9373a71c26 improved _request_ctx_stack docs 2010-06-29 15:25:20 +02:00
Armin Ronacher bc00fd1e83 Added support for deferred context cleanup. test_client users can now access the context locals after the actual request if the client is used with a with-block. This fixes #59. 2010-06-03 15:26:07 +02:00
Armin Ronacher a6617f44c0 Documented _request_ctx_stack. This fixes #57 2010-05-31 17:50:31 +02:00
Georg Brandl a224fecfd5 More typo fixes. 2010-05-30 02:15:05 +08:00
Armin Ronacher 182ee31503 Added chapter about config 2010-05-27 17:42:01 +02:00
Armin Ronacher 4d16486132 Improved configuration support. 2010-05-27 13:31:35 +02:00
Armin Ronacher 854e0e26d1 Fixed some documentation issues. This fixes #41. 2010-05-18 18:05:05 +02:00
Armin Ronacher 9fa4f94ad8 Merge branch 'master' into module-support
Conflicts:
	CHANGES
	docs/_themes
	tests/flask_tests.py
2010-05-12 01:04:35 +02:00
Armin Ronacher 2d87e9bc37 Added support for send_file 2010-05-10 11:27:42 +02:00
Armin Ronacher 7f837901cb Merge branch 'master' into module-support 2010-05-04 11:45:37 +02:00
Armin Ronacher f6da77e894 Fixed URL examples. This fixes #30. 2010-05-04 11:43:19 +02:00
Armin Ronacher eeb0e94951 Fixed merging confict 2010-05-02 12:09:31 +02:00
Armin Ronacher 36717b0273 Added support for long running sessions. This closes #16. 2010-04-27 14:32:09 +02:00
Armin Ronacher c0a9f5d0c4 Documentation update for the flask module support. 2010-04-24 17:35:25 +02:00
florentx 3c821a0fa4 Fix typos and remove unused import. 2010-04-20 18:40:58 +02:00
Armin Ronacher 95750b3287 Documented some routing converter possibilities. 2010-04-19 23:49:02 +02:00