Commit graph

1373 commits

Author SHA1 Message Date
mattc41190
88a07f1b75 itty bitty typo 2020-03-24 09:54:32 -05:00
Tobias Sette
4a5f5fc0a2 docs: update "Deploying on Google App Engine"
Use the documentation for Python 3 instead of Python 2, which is deprecated.
2020-03-16 19:18:53 -03:00
ongopongo
1952236085 Fix property name in description
Previously, the description referred to a property named `original_error`.
However, both the code sample that followed it _and_ the Werkzeug
documentation refer to it as `original_exception` instead.

In this commit, I change the description to use the same property name
as is used in the code sample and the Werkzeug documentation.

Here's a link to the Werkzeug documentation of that property:
- https://werkzeug.palletsprojects.com/en/1.0.x/exceptions/#werkzeug.exceptions.InternalServerError.original_exception
2020-02-28 12:09:51 -08:00
kylepollina
e5477a099a Fix typo in docs (#3517) 2020-02-27 23:22:03 +01:00
yingshaoxo
089a379b97 pass static_url_path along with static_folder 2020-02-10 18:33:32 -08:00
David Lord
c96be4c2f0 Merge pull request #3480 from candleindark/patch-2
Incorrect grammar
2020-02-10 18:13:24 -08:00
Grey Li
8e62a33cff add import for escape in quickstart
import escape from markupsafe instead of flask
2020-02-10 17:53:11 -08:00
Isaac To
2a70812332 Incorrect grammar
The original sentence has incorrect grammar
2020-02-10 17:47:42 -08:00
Isaac To
bbba98ce40 A better expression for the intended meaning 2020-02-06 12:04:49 -08:00
Isaac To
347613241f This is a typo. 2020-02-06 10:52:59 -08:00
Kristin Faner
f07c5084ec fix typo in request context docs 2019-10-08 09:06:01 -07:00
David Lord
ea659d77e5 Merge branch '1.0.x' into 1.1.x 2019-09-24 06:44:18 -07:00
David Lord
6ee61a8b57 Merge branch '0.12.x' into 1.0.x 2019-09-24 06:43:25 -07:00
David Lord
aef114e372 update docs for new theme 2019-09-24 06:35:10 -07:00
David Lord
286b84c370 Merge branch '1.0.x' into 1.1.x 2019-09-23 12:10:55 -07:00
David Lord
7c206114fa reword extension python version item 2019-09-23 11:59:59 -07:00
David Lord
d5a739fae5 Merge branch '1.0.x' into 1.1.x 2019-09-23 08:38:11 -07:00
David Lord
4504c6d7b8 update patterns, snippets, extensions docs 2019-09-23 08:19:40 -07:00
Constantin
1c383fc13f fix typo: base on -> based on 2019-08-25 20:33:41 +02:00
David Lord
4f3db0862a fix stylecheck 2019-08-01 13:35:38 -07:00
David Lord
50a3d54a5b Merge branch '1.0.x' into 1.1.x 2019-08-01 13:08:12 -07:00
Csirmaz Bendegúz
59ef0883f7 Fix typo in urlprocessors.rst 2019-08-01 12:58:07 -07:00
Grey Li
a1c23b2fe7 Fix github link generator for docs 2019-08-01 22:49:31 +08:00
David Lord
a30c2d8ae3 Merge branch '1.0.x' into 1.1.x 2019-07-22 13:31:05 -07:00
Grey Li
411055c52b Update outdated extension doc
Remove links and descriptions relate to abandoned "Flask Extension
Registry" in documentation
2019-07-22 13:23:57 -07:00
Stéphane Wirtel
62191cb38c Documentation: Use Python 3.5+ 2019-07-10 19:03:10 +02:00
David Lord
ba1fcd1887 use app.name as app.logger name 2019-07-01 14:56:18 -07:00
David Lord
1ee9405ff3 Merge branch '1.0.x' 2019-07-01 10:54:31 -07:00
Anthony Sottile
f65c6d3860 Fixes for PEP451 import loaders and pytest 5.x
- pytest 5.x drops python2 compatibility and therefore only implements PEP 451
- pytest 5.x made the repr of `ExcInfo` less confusing (fixed tests depending
  on the old format)
2019-07-01 10:43:06 -07:00
David Lord
ff0c92a1c7 Merge branch '1.0.x' 2019-06-23 16:57:52 -07:00
David Lord
363741ec69 fix docks linkcheck 2019-06-23 15:37:51 -07:00
David Lord
fd0f91a1fb update docs config 2019-06-23 12:27:25 -07:00
David Lord
9e7c91115c use sphinx-issues, rewrap changelog 2019-06-23 12:25:38 -07:00
David Lord
e066e9f9e3 standardize license and copyright 2019-06-22 13:09:09 -07:00
David Lord
ea0968869b use dashes for command names 2019-06-21 08:47:27 -07:00
David Lord
08404e8cd0 document behavior of very generic error handlers 2019-06-21 08:22:35 -07:00
David Lord
3ab901146c reword api error section 2019-06-12 11:02:53 -07:00
Logan Wright
bd6111273b adds api error handling documentation 2019-06-12 10:54:12 -07:00
David Lord
65b453b692 Merge remote-tracking branch 'origin/1.0.x' 2019-06-01 06:53:29 -07:00
Jon S. Stumpf
4dc9c68d19 address flake8 issues 2019-06-01 06:31:35 -07:00
Jon S. Stumpf
8577b347a7 add pre-commit config for flake8 2019-06-01 09:13:46 -04:00
David Lord
d6b3e5eccf Merge pull request #3244 from paulgb/master
Clarify documentation about how url_for uses configuration values (#2759)
2019-06-01 08:59:01 -04:00
Paul Butler
931d62c892 Clarify documentation about how url_for uses configuration values (#2759) 2019-05-31 15:33:06 -04:00
Diego Alberto Torres Quintanilla
d296df03c2 Guard against missing request context in logging docs. 2019-05-31 14:54:03 -04:00
David Lord
797fb5f64b Merge pull request #3240 from ultimecia7/docfix
Fix testing documentation to demonstrate using test client with teardown
2019-05-31 14:06:54 -04:00
ultimecia7
ffdc3ff595 Fix testing documentation to demonstrate using test client with teardown 2019-05-31 13:18:54 -04:00
Anthony Plunkett
cc2580af09 Add Blueprint level cli command registration
Implements #1357.
Adds ability to register click cli commands onto blueprint.
2019-05-24 14:43:29 -07:00
David Lord
6d8c7c987d add quickstart about JSON responses 2019-05-24 10:28:12 -07:00
pgjones
9e0bd76d2a Allow dictionary return values as JSON
This supports an increasingly common usecase whereby JSON is the
primary response (rather than a templated string). Given Flask has a
short syntax for HTML reponses, it seems fitting that it should also
do so for JSON responses. In practice it allows,

     @app.route("/")
     def index():
         return {
             "api_stuff": "values",
         }
2019-05-24 09:48:55 -07:00
David Lord
9452450b6c add SeparatedPathType to accept multiple paths
Multiple paths for the reloader's `--extra-files` are accepted as one
option, separated by ':'.
2019-05-24 07:19:56 -07:00