Commit graph

917 commits

Author SHA1 Message Date
Jon Banafato
138b28e17d Add X-Forwarded-Proto to proxy setup example
The ProxyFix middleware provided by Werkzeug uses this header for
returning accurate values from request.is_secure and request.scheme.
Without adding this header, Flask won't properly detect when it is being
served over HTTPS and will fail to generate proper external links and
cause certain extensions (e.g. Flask-OAuthlib) to function improperly.
Adding this header to the example setup should reduce issues encountered
by developers when following this guide.
2015-05-09 12:29:53 -04:00
Ford Hurley
8d80857cc0 Mention that custom converters can be defined for url routes 2015-05-01 12:11:55 -04:00
Markus Unterwaditzer
eb1efd5098 Errorhandlers were NOT *added* in 1.0 2015-04-30 23:05:55 +02:00
Phil Schaf
b138a27f30 some details 2015-04-11 18:08:04 +02:00
Phil Schaf
739c1e4e5e slimmed down error handling intro 2015-04-11 18:01:22 +02:00
Phil Schaf
f8e3819217 added info about an exception being raised for the old and broken behavior 2015-04-11 17:44:18 +02:00
Phil Schaf
55c0900452 Added docs for the error handler rework 2015-04-11 17:25:17 +02:00
Alex Chan
f4a53e97ea Fix a few spelling mistakes in the docs 2015-04-03 20:43:40 +01:00
Markus Unterwaditzer
54e43d91bf Merge pull request #1380 from KWinston/master
Add line of code required to run examples for Other Testing Tricks section
2015-04-02 01:57:06 +02:00
Charles Chan
1224aaa51a Added OpenShift as a free hosting provider alternative 2015-03-31 16:13:29 -07:00
Torstein Krause Johansen
aecb94415d Moved noted about HTTP 500 before the code examples
- as suggested by @keyan
2015-03-31 19:16:33 +02:00
Torstein Krause Johansen
b63389da16 Added note that @errorhandler(500) isn't triggered in debug mode 2015-03-31 17:35:29 +02:00
Winston Kouch
bac8e558a2 Add import flask module required to run code on Other Testing Tricks 2015-03-12 23:32:08 -04:00
Caleb Bron
7d19de620d link to sqlalchemy declarative has changed 2015-03-12 10:26:06 -07:00
Winston Kouch
34c3adf33c Add extensions section to Quickstart documentation 2015-03-11 23:54:09 -04:00
Markus Unterwaditzer
75a7d5b304 Fix broken link 2015-03-05 22:04:53 +01:00
Markus Unterwaditzer
da958a7f58 Merge pull request #1325 from bsutherland/rqst_properteis_doc_iri_patch
Clarify contents of request properties.
2015-03-05 22:03:54 +01:00
Markus Unterwaditzer
b945038f3a Merge pull request #1354 from idrisr/master
improve grammar, make format consistent, and improve readability
2015-03-05 21:55:08 +01:00
Markus Unterwaditzer
7f31742059 Restructure Upload Progress Bars
- Removed dropzone.js, it hasn't been around long enough, maybe we need
  to update this in two years again.
- jQuery should be a proper rst link.
2015-03-04 18:43:59 +01:00
Markus Unterwaditzer
76f3c29d93 Merge remote-tracking branch 'sourya/master' 2015-03-04 18:40:35 +01:00
Idris Raja
fc27254128 improve grammar, make format consistent, and improve readability 2015-02-19 09:57:56 -06:00
Jeff Widman
b6fe81d648 Grammer and readability fixes 2015-02-09 01:03:08 -08:00
Bruce Sutherland
547acbf3f2 Wrap text. 2015-01-22 09:12:18 +09:00
Bruce Sutherland
3ca13dc1cc Show requested URI as suggested by untitaker. 2015-01-21 20:52:42 +09:00
Bruce Sutherland
479a4c3908 Update api.rst
Changed Japanese text to pi symbol, emphasize that values are unicode.
2015-01-21 15:00:38 +09:00
Bruce Sutherland
59bd9661ba Clarify contents of request properties.
Change URL to IRI and update examples to include extended characters.
2015-01-21 14:09:30 +09:00
Carlos Eduardo Rivera
82765c7551 grammar fixes 2015-01-16 03:36:17 -06:00
Brett Gerry
9cf23c47df deprecate TextField in favor of StringField 2015-01-13 14:47:41 -08:00
Jochen Kupperschmidt
cb4d93c140 Added missing import.
As this specific code block lists imports in general and an import from the `flask` package specifically, it should also include `g` for the sake of completeness.
2015-01-13 03:03:14 +01:00
Sourya Vatsyayan
a184d41295 Updated file uploads progress bar section 2015-01-04 13:00:51 +05:30
Sourya Vatsyayan
87d935d6fa URL generation rule explained for file uploads 2015-01-03 23:32:51 +05:30
Sourya Vatsyayan
af9d25985c URL generation rule explained 2015-01-03 20:30:30 +05:30
Parkayun
e05771ff60 Happy New Year 2015 2015-01-02 11:35:00 +09:00
Sateesh
4f4c0cd801 Update quickstart.rst
Minor grammar correction.
2014-12-30 22:40:13 +05:30
Markus Unterwaditzer
de3de8d6bf Fix #1298 2014-12-30 12:08:17 +01:00
Nic Young
5281e04e51 Fix grammar in testing doc. 2014-12-29 22:11:17 -07:00
Wang Haowei
557f7be0fa fix typo 2014-12-25 11:52:11 +08:00
Markus Unterwaditzer
f115d30022 Merge pull request #1280 from jcomo/mongokit-doc-update
Update mongokit pattern
2014-12-17 13:28:24 +01:00
Jonathan Como
0e5185eb67 verbage 2014-12-16 23:52:43 -08:00
Kevin Yap
8b1337d85a Grammatical fixes in Foreword and Tutorial 2014-12-16 11:30:00 -08:00
Jonathan Como
6edaf51457 update mongokit patterng 2014-12-15 13:25:15 -08:00
Kevin Yap
33131af648 Standardized capitalization of "GitHub" in docs 2014-12-12 22:55:12 -08:00
Prakash Pandey
963c51196f Fixed wording 2014-12-09 22:46:10 +05:30
Markus Unterwaditzer
b554c644c0 Merge branch 'flask_deployment_docs'
Conflicts:
	docs/quickstart.rst
2014-12-04 22:39:28 +01:00
Markus Unterwaditzer
1d7e42cabe Merge pull request #1264 from svenstaro/patch-1
Update information about Python 3
2014-12-04 22:36:31 +01:00
pkuphy
458b7fd572 Update api.rst
is an -> if a
2014-12-05 02:53:30 +08:00
Sven-Hendrik Haase
e361abe868 Remove head lines and add versions of first Python 3 support 2014-12-02 21:09:45 +01:00
Sven-Hendrik Haase
1d482ab75d Describe the nature of Python 3 roughness 2014-12-02 20:46:46 +01:00
Sven-Hendrik Haase
4871e4b598 Admit the occasional encoding problem 2014-12-02 19:40:12 +01:00
Sven-Hendrik Haase
98ff244dfd Update information about Python 3
Python 3 and Flask is a good combination nowadays that works rather well. In fact, [most PyPI libs](https://regebro.wordpress.com/2014/10/23/59-of-maintained-packages-support-python-3/) are now ported and it's generally ok to encourage people to use Python 3 for new projects.
2014-12-02 18:13:02 +01:00