Nick Pope
eaedb9320c
Fix index example for TaggedJSONSerializer.register()
...
Made the example use a keyword, rather than a positional argument, as
the intent here is to show how to insert a tag with higher precedence.
As a positional argument, this would have been passed to ``force``
instead of ``index``.
7 years ago
Nick Pope
fc6a1d9354
Fix default index for TaggedJSONSerializer.register()
...
Change the default value of ``index`` to ``None`` in ``register()`` so
that it is possible to insert a new tag as the penultimate item in the
order list.
7 years ago
David Lord
16549370fd
fix changelog indentation
7 years ago
David Lord
e102e5cb33
Merge pull request #2707 from rochacbruno/lazy_loader_message
...
Add a message `Serving Flask app (module "app.py" will be lazily loaded)` to `flask run` related to #2706
7 years ago
David Lord
80a9e0edf6
app.run is not lazy
...
use click.echo for banner messages
7 years ago
David Lord
be46acb871
add changelog for docs theme and tutorial
7 years ago
David Lord
5fba092c22
Merge pull request #2709 from davidism/docs-theme
...
use theme provided by pallets-sphinx-themes
7 years ago
David Lord
49a38ed999
use theme provided by pallets-sphinx-themes
7 years ago
Bruno Rocha
8f5168cb31
Add explicit `(lazy loading)` message to `flask run` related to #2706
7 years ago
David Lord
3a0ea726bd
move coveragerc to setup.cfg
7 years ago
David Lord
1e84c67beb
clean up js example
7 years ago
David Lord
746b91dfce
Merge pull request #2699 from pallets/javascript
...
add javascript ajax example
7 years ago
David Lord
fce1885f76
add javascript ajax example
7 years ago
David Lord
d8bf589d48
Merge pull request #2693 from davidism/max-cookie-size
...
add Response.max_cookie_size config
7 years ago
David Lord
1ed756a523
add Response.max_cookie_size config
7 years ago
David Lord
465b48ed4e
Merge pull request #2691 from pallets/json-encoding
...
detect UTF encodings when loading json
7 years ago
David Lord
ab4142215d
detect UTF encodings when loading json
7 years ago
David Lord
0cbe698958
Merge pull request #2665 from fprocess/2651-get_json's-silent-option-weird-side-effect
...
Fix the bug of cache function in `get_json` method.
7 years ago
fphonor
171eb28c95
get_json separate cache depending on silent arg
7 years ago
David Lord
8c0d8c1c14
Merge pull request #2662 from greyli/patch-9
...
Add tips for 413 connection reset issue
7 years ago
Grey Li
2f9be68a81
Add tips for 413 connection reset issue
7 years ago
David Lord
abba4b2a74
Merge pull request #2686 from davidism/bp-static
...
document blueprint static folder without prefix
7 years ago
David Lord
46dc14664f
document blueprint static folder without prefix
7 years ago
David Lord
c3e2ff2afa
Merge pull request #2676 from davidism/tutorial
...
rewrite tutorial docs and example
7 years ago
David Lord
c3dd7b8e4c
rewrite tutorial docs and example
7 years ago
David Lord
16d83d6bb4
Merge pull request #2685 from davidism/app-context-docs
...
rework context docs
7 years ago
David Lord
2411707492
rework context docs
7 years ago
David Lord
47a00864c3
Merge pull request #2668 from pallets/tip-dotenv
...
Add tip for dotenv
7 years ago
Hsiaoming Yang
08e61ea200
Add tip for dotenv
7 years ago
Hsiaoming Yang
cc51ace823
Fix logs for simple example on readme
7 years ago
David Lord
a2ea18693c
Update README.rst
7 years ago
David Lord
095d36a884
Merge pull request #2652 from greyli/patch-8
...
Add documentation link in README
7 years ago
Grey Li
f739149456
Add documentation link in README
7 years ago
David Lord
d72612d11e
Merge pull request #2647 from pallets/docs-extensions
...
remove old extension docs
7 years ago
David Lord
4462cc57c8
rewrite extension docs
...
remove old extension patterns
remove flask.ext from api docs
7 years ago
David Lord
cc6c618f4d
Merge pull request #2646 from pallets/test-app-name
...
don't use Flask(__name__) in conftest
7 years ago
David Lord
5f42989ce3
don't use Flask(__name__) in conftest
7 years ago
David Lord
624895620a
ignore pytest cache
7 years ago
David Lord
b0c1da1e7e
Merge pull request #2637 from pallets/quickstart-unique-urls
...
rewrite quickstart Unique URLs section
7 years ago
David Lord
303a3d24a6
rewrite quickstart Unique URLs section
7 years ago
David Lord
b16592aba0
Merge pull request #2629 from zcchen/master
...
prevent double slash /a//b when blueprint prefix ends with slash
7 years ago
David Lord
401423df06
only strip one slash when registering blueprint
...
add test and changelog
7 years ago
zcchen
0887245bfd
Add re.sub for blueprint add_url_rule handler, prevent '/a//b/'(blueprint.url_prefix='/a/' and the route is '/b/') happened.
7 years ago
David Lord
f808c20139
Merge pull request #2635 from pallets/feature/server-name-routing
...
Require opt-in for subdomain matching
7 years ago
David Lord
82f0d120de
use subdomain arg in url_map.bind_to_environ
...
rename new subdomain test, parametrize
test allowing subdomains as well as ips
add subdomain_matching param to docs
add some references to docs
add version changed to create_url_adapter
7 years ago
Armin Ronacher
8cec2010c0
Do not enable subdomain matching by default
...
Updated tests for new subdomain matching
Added a test to validate matching behavior
7 years ago
David Lord
4a7db66474
Merge pull request #2636 from pallets/test-cli-runner
...
add test_cli_runner for testing app.cli commands
7 years ago
David Lord
cf5525f98a
add test_cli_runner for testing app.cli commands
7 years ago
Hsiaoming Yang
79f34f1769
Merge pull request #2630 from anowlcalledjosh/2627-test_request_context-docs
...
Fix docs for test_request_context
7 years ago
Josh Holland
575021c07b
Fix docs for test_request_context
...
Fixes #2627 .
7 years ago