David Lord
f31a8ce4bc
Merge pull request #3704 from jackwardell/no-self-required
...
swapping self.assert_equal for assert
2020-07-28 07:10:13 -07:00
jackwardell
daf9ec790a
swapping self.assert_equal for assert
...
self.assert_equal is not in a class and is ambiguous. Beginners might copy and paste this example and not understand it.
2020-07-28 14:23:00 +01:00
Ebonne Cabarrus
569c88d721
more changes to consolidated error handling docs
2020-07-24 09:25:07 -07:00
jackwardell
59b0b85835
consolidate error handling docs
...
Remove apierrors.rst and errorpages.rst from patterns and integrate the
content into errorhandling.rst, along with other changes and extra
content.
2020-07-24 09:15:43 -07:00
Grey Li
1580aa30cb
Update Discord invite links
2020-07-21 12:11:17 +08:00
David Lord
aab20ad431
fix typo
2020-07-08 08:26:21 -07:00
Armin Ronacher
4a1acc8b5f
Some small doc fixes
2020-07-08 15:53:43 +02:00
Grey Li
718afcc107
Improve wording of tip for Unique URLs chapter
2020-07-05 08:25:48 +08:00
Deep R. Ode
8074cbdc47
Added very small clarification to quickstart.rst
2020-07-03 15:55:56 +05:30
Sergei
7d7e8eef23
API docs - changed flask.request description
...
- the link should point to the flask's Request
- longer description is unnecessary, as it's all explained above in flask.Request
2020-07-02 23:54:40 +03:00
Leonardo Giordani
2254adf845
Simplified version of file-based database
2020-06-23 15:14:03 +01:00
Leonardo Giordani
26ec470afb
Fixed trailing whitespace
2020-06-23 15:06:37 +01:00
Leonardo Giordani
efbd721f20
Changed example DATABASE_URI values
2020-06-23 14:56:51 +01:00
Leonardo Giordani
aec07a1cb5
Removed misleading DEBUG variable from examples
2020-06-21 09:29:45 +01:00
iomintz
92f648b04e
[docs] streaming contents: use app.response_class
...
Examples should use app.response_class to encourage code that doesn't need to be changed should the response class be customized later on.
2020-06-17 22:00:35 -05:00
David Lord
eec29a8fc3
Merge pull request #3603 from jeffwidman/patch-1
...
Fix docs link for Flask-Uploads
2020-06-07 17:03:35 -07:00
David Lord
6eeb912a63
Merge remote-tracking branch 'origin/1.1.x'
2020-06-07 16:50:17 -07:00
David Lord
51686f5ab4
expand section on copy/paste security
2020-06-07 16:45:31 -07:00
Kai Chen
0b6a05f541
add section on copy/paste security
2020-06-05 08:51:21 -07:00
David Lord
eea31f29a5
use pip-compile to pin dev requirements
2020-05-23 14:03:11 -07:00
Jeff Widman
c432d8b2bc
Fix docs link for Flask-Uploads
2020-05-08 12:42:52 -07:00
David Lord
ff2f71379b
use ast to parse FLASK_APP
...
enables keyword arguments to factory functions
2020-04-07 17:54:51 -07:00
David Lord
fcac7f11cf
deprecate passing script_info to factory
2020-04-07 15:54:36 -07:00
David Lord
7e3b8abf99
update docs requirements
...
remove duplicate docs
2020-04-07 14:39:18 -07:00
David Lord
756902cca1
update json docs
2020-04-07 13:37:14 -07:00
David Lord
c43edfc7c0
remove simplejson
...
- remove encoding detection backport, json.loads supports it directly
- use str.translate instead of multiple str.replace
2020-04-07 09:55:39 -07:00
David Lord
171aabc87d
remove unused ref directives
...
replace page refs with doc directives
2020-04-04 12:57:14 -07:00
David Lord
2ae740dd49
f-strings everywhere
2020-04-04 12:10:00 -07:00
David Lord
524fd0bc8c
apply pyupgrade
2020-04-04 12:10:00 -07:00
David Lord
7673835b3d
remove Python 2 from docs
2020-04-04 12:05:44 -07:00
David Lord
96b4dcafc3
Merge branch '1.1.x'
2020-04-03 10:25:51 -07:00
David Lord
3d61fc4428
Merge pull request #3529 from pgkrit/master
...
Move HTML escaping example back to Variable Rules.
2020-04-02 12:55:49 -07:00
David Lord
57f9623b08
move html escaping to dedicated section
2020-04-02 12:49:00 -07:00
David Lord
c6a619af83
update CLI docs IDE integration
2020-04-02 12:09:04 -07:00
David Lord
037ae3f024
Merge remote-tracking branch 'origin/1.1.x'
2020-04-02 11:56:30 -07:00
David Lord
ac9589ca72
Merge pull request #3530 from valleygtc/docs-fix
...
docs: testing.rst function def missing colon
2020-04-02 11:55:01 -07:00
mattc41190
1736e01ea0
Grammar and clarity fix
2020-03-25 09:20:55 -05:00
mattc41190
8fc723c7c2
itty bitty typo
2020-03-24 09:54:32 -05:00
Tobias Sette
d115d843e6
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
gutianci
ceed993d63
docs: testing.rst function def missing colon
2020-03-05 18:31:21 +08:00
Peter G Kritikos
56e75eace5
Move HTML escaping example back to Variable Rules.
...
Demonstration of markupsafe's escape function was in the Minimal
Application example, but the minimal example does not accept user
input.
2020-03-04 18:50:36 -05:00
ongopongo
1d45539000
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
37f582dbb1
Fix typo in docs ( #3517 )
2020-02-27 23:22:03 +01:00
David Lord
909b9751ee
Merge remote-tracking branch 'origin/1.1.x'
2020-02-10 18:41:07 -08:00
yingshaoxo
7e068145df
pass static_url_path along with static_folder
2020-02-10 18:33:32 -08:00
David Lord
07556da918
Merge remote-tracking branch 'origin/1.1.x'
2020-02-10 18:29:43 -08:00
David Lord
c12d9f8b49
Merge pull request #3480 from candleindark/patch-2
...
Incorrect grammar
2020-02-10 18:13:24 -08:00
Grey Li
571e92b317
add import for escape in quickstart
...
import escape from markupsafe instead of flask
2020-02-10 17:53:11 -08:00
Isaac To
b80eaf2c99
Incorrect grammar
...
The original sentence has incorrect grammar
2020-02-10 17:47:42 -08:00
Gregory Pakosz
aa1d4cb840
remove approved extensions in foreword
2020-02-10 17:00:53 -08:00
David Lord
2c66746a37
Merge branch '1.1.x'
2020-02-09 15:21:13 -08:00
Isaac To
bb66b61d1d
A better expression for the intended meaning
2020-02-06 12:04:49 -08:00
Isaac To
ce08807a8b
This is a typo.
2020-02-06 10:52:59 -08:00
Grey Li
a3415fc6dc
Use https for pallets URL
2019-11-19 09:32:35 -08:00
Grey Li
ef434ea998
Replace old pocoo links everywhere
...
pocco.org -> palletsprojects.com
2019-11-19 09:32:35 -08:00
David Lord
2659f0a5e6
Merge pull request #3406 from erfanio/f-string-docs
...
Change docs to use f-strings
2019-11-18 19:09:30 -08:00
David Lord
a671e47921
rewrite the development server docs
2019-11-18 18:02:12 -08:00
David Lord
a83d6d2528
Merge remote-tracking branch 'origin/1.1.x'
2019-11-18 17:54:20 -08:00
Thiago J. Barbalho
4f6b310513
Fix typo
2019-11-02 20:56:35 +00:00
Chris Lamb
3ddf7fd2c2
Make the documentation build reproducibly
...
Whilst working on the Reproducible Builds effort [0] we noticed that
flask could not be built reproducibly.
This is because it includes an absolute build directory in the
documentation as the "json_module" attribute points to a Python class/
module which has a string representation including its path.
This commit skips this (inherited) member from the documentation.
(This was originally filed in Debian as #943674 [1].)
[0] https://reproducible-builds.org/
[1] https://bugs.debian.org/943674
2019-10-28 09:16:53 +00:00
erfanio
07caa44224
Change docs to use f-strings
2019-10-26 17:19:00 +11:00
David Lord
aac0f585b9
clean up config.from_file docs
2019-10-18 09:24:58 -07:00
pgjones
829aa65e64
Support loading configuration from text files
...
TOML is a very popular format now, and is taking hold in the Python
ecosystem via pyproject.toml (among others). This allows toml config
files via,
app.config.from_file("config.toml", toml.loads)
it also allows for any other file format whereby there is a loader
that takes a string and returns a mapping.
2019-10-18 09:15:47 -07:00
Marat Sharafutdinov
468705df17
Update reqcontext.rst
2019-10-14 23:48:48 +03:00
David Lord
4bceeccfff
Merge pull request #3391 from pallets/explain-escape
...
explain escape at top of quickstart
2019-10-12 19:03:34 -07:00
David Lord
413778afc1
explain escape at top of quickstart
...
* introduce escape, and explain why it's omitted in examples
* clean up imports in examples
2019-10-12 18:53:47 -07:00
Kristin Faner
af970bd20f
fix typo in request context docs
2019-10-08 09:06:01 -07:00
David Lord
a3f07829ca
Merge branch '1.1.x'
2019-09-24 06:44:36 -07:00
David Lord
7fdd0df6ec
Merge branch '1.0.x' into 1.1.x
2019-09-24 06:44:18 -07:00
David Lord
563ef469f7
Merge branch '0.12.x' into 1.0.x
2019-09-24 06:43:25 -07:00
David Lord
4ed20657c6
update docs for new theme
2019-09-24 06:35:10 -07:00
bearnun
2ceae5f8a5
mention default logging level
2019-09-23 12:17:46 -07:00
David Lord
6429bf19a0
Merge branch '1.1.x'
2019-09-23 12:11:18 -07:00
David Lord
5f5e8e5339
Merge branch '1.0.x' into 1.1.x
2019-09-23 12:10:55 -07:00
David Lord
6cde195c88
reword extension python version item
2019-09-23 11:59:59 -07:00
David Lord
40eadfc52a
Merge branch '1.1.x'
2019-09-23 08:38:29 -07:00
David Lord
746d9181d7
Merge branch '1.0.x' into 1.1.x
2019-09-23 08:38:11 -07:00
David Lord
e01b68e7ee
update patterns, snippets, extensions docs
2019-09-23 08:19:40 -07:00
Nathan McKinley-Pace
2ec150af02
Update testing.rst
...
It now describes how to install flaskr using pip so that all tests pass.
2019-09-02 11:31:34 -04:00
Constantin
b839beb23d
fix typo: base on -> based on
2019-08-25 20:33:41 +02:00
Eido95
b33e89935a
docs: Change max content length value to megabyte
...
16 * 1024 * 1024 = 16 MiB (Mebibyte)
16 * 1000 * 1000 = 16 MB (Megabyte)
The example is in megabytes, not in mebibytes.
2019-08-13 11:02:56 +03:00
David Lord
b3b38285a4
fix stylecheck
2019-08-01 13:35:38 -07:00
David Lord
02cfee8461
Merge branch '1.0.x' into 1.1.x
2019-08-01 13:08:12 -07:00
Csirmaz Bendegúz
28ffe15349
Fix typo in urlprocessors.rst
2019-08-01 12:58:07 -07:00
Grey Li
2a8ebc4411
Fix github link generator for docs
2019-08-01 22:49:31 +08:00
David Lord
c42803f168
Merge branch '1.0.x' into 1.1.x
2019-07-22 13:31:05 -07:00
Grey Li
90004a83be
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
98a26cfb42
Documentation: Use Python 3.5+
2019-07-10 19:03:10 +02:00
David Lord
df470aecb9
use app.name as app.logger name
2019-07-01 14:56:18 -07:00
David Lord
b05a685a03
Merge branch '1.0.x'
2019-07-01 10:54:31 -07:00
Anthony Sottile
a5ecdfa7a5
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
1351d0a565
Merge branch '1.0.x'
2019-06-23 16:57:52 -07:00
David Lord
cb6272ccc8
fix docks linkcheck
2019-06-23 15:37:51 -07:00
David Lord
28b35c55a1
update docs config
2019-06-23 12:27:25 -07:00
David Lord
7d77958000
use sphinx-issues, rewrap changelog
2019-06-23 12:25:38 -07:00
David Lord
e666f7a69c
standardize license and copyright
2019-06-22 13:09:09 -07:00
David Lord
146df0f9e8
use dashes for command names
2019-06-21 08:47:27 -07:00
David Lord
54519ef028
document behavior of very generic error handlers
2019-06-21 08:22:35 -07:00
David Lord
4b519f0e33
reword api error section
2019-06-12 11:02:53 -07:00
Logan Wright
7bc965fada
adds api error handling documentation
2019-06-12 10:54:12 -07:00
David Lord
09392e0348
Merge remote-tracking branch 'origin/1.0.x'
2019-06-01 06:53:29 -07:00
Jon S. Stumpf
b46f5942a5
address flake8 issues
2019-06-01 06:31:35 -07:00
Jon S. Stumpf
549fed29ea
add pre-commit config for flake8
2019-06-01 09:13:46 -04:00
David Lord
b61cbf8ab4
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
a3272941ce
Clarify documentation about how url_for uses configuration values ( #2759 )
2019-05-31 15:33:06 -04:00
Diego Alberto Torres Quintanilla
45b2e7702d
Guard against missing request context in logging docs.
2019-05-31 14:54:03 -04:00
David Lord
6e995f2379
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
d981cc678a
Fix testing documentation to demonstrate using test client with teardown
2019-05-31 13:18:54 -04:00
Anthony Plunkett
ec1ccd7530
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
1ecc341fe5
add quickstart about JSON responses
2019-05-24 10:28:12 -07:00
pgjones
7bf8366970
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
e18cc4d71d
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
Bruno Rocha
2308cba407
Fix #2897 - Add `extra_files` option to `flask run` CLI
2019-05-23 10:47:41 -07:00
David Lord
6dbcbdee35
add sphinx-issues
2019-05-17 13:26:54 -07:00
David Lord
05a4e15ee4
Merge branch '1.0.x'
2019-05-17 11:13:08 -07:00
brunoais
6142aa64ae
More explicit explanation: session testing
...
Use a more explicit explanation on how to write code to test own code
when sessions are needed.
The previous code was not fully explicit that the client is supposed
to be called after the session transaction and not during.
2019-05-16 18:07:18 -07:00
David Lord
2236ba980c
Merge branch '1.0.x'
2019-05-16 12:18:36 -07:00
A Brooks
4e272fc042
Fix various small spelling errors.
2019-05-16 11:50:10 -07:00
Charles Ross
0df2620c5f
update docs on gunicorn deploy and app discovery
2019-05-16 10:45:03 -07:00
Tom-McDonald
994cd1db33
replaced deprecated sample code in proxy-setup docs
2019-05-16 09:54:49 -07:00
Adam Johnson
e5b0fe6841
Fix some HTML injection paths in examples
...
These are unlikely to be copy-pasted by users but it's best practice to avoid it and other examples do.
2019-05-16 09:50:58 -07:00
jordan bonser
800c744fe7
improve env vars config example
2019-05-16 08:48:34 -07:00
jaydarius
42da151fc7
use or to complete the either statement
2019-05-08 10:59:55 -04:00
David Baumgold
6606a4a238
fix RST line too long
2019-05-06 11:11:32 -04:00
David Lord
42b67a1f95
Merge pull request #3150 from greyli/fix-route-defaults-doc
...
[Doc] Fix typo in code example for route defaults
2019-04-11 19:11:21 -07:00
Grey Li
4df7b220fa
Fix typo in URL defaults example
2019-04-12 09:45:58 +08:00
Grey Li
d838f1c918
doc: Improve description for valid view func return value
...
* improve wording.
* remove unnecessary spaces.
2019-03-06 10:34:21 +08:00
David Lord
86bf9dca72
Merge pull request #3103 from tbm/typos
...
Fix typos in the documentation
2019-02-24 06:33:44 -08:00
Martin Michlmayr
7b88b35747
Fix typos in the documentation
2019-02-24 10:40:23 +00:00
Martin Michlmayr
5830388ee2
Fix formatting issue in quickstart guide
...
Due to a formatting issue in the reStructuredText input, the HTML
output produced a description list (<dl>) within the ordered list.
2019-02-23 00:02:01 +00:00
venus
8c979698bd
fix the typo
2019-01-12 21:42:06 +09:00
venus
99ad1f3cae
fix the typo
2019-01-12 14:51:04 +08:00
David Lord
2c29495e6d
remove encoding from method override pattern
2019-01-07 13:09:36 -08:00
David Lord
ac6746d1be
Merge branch '1.0-maintenance'
2019-01-06 15:46:33 -08:00
David Lord
edef8cb38b
simplify mongoengine doc, redirect from mongokit
2019-01-06 15:42:08 -08:00
Igor Ghisi
4e280b4142
Replace MongoKit by MongoEngine on docs
...
Docs chapter "Patterns for Flask" has a section dedicated to MongoKit,
but MongoKit lib seems unmaintained and is not compatible with recent
versions of PyMongo.
This commit replaces MongoKit guide with a new one using MongoEngine.
Closes #2907
2019-01-06 15:12:53 -08:00
David Lord
b2765893e6
Merge pull request #3067 from pallets/tutorial-flask-run
...
clarify where to call flask run from in tutorial
2019-01-06 15:11:30 -08:00
David Lord
d6151340bc
clarify where to call flask run from in tutorial
2019-01-06 15:10:38 -08:00
Stephon Harris
ab7f9e735f
Adding conjunction where for clarification
2019-01-06 15:05:54 -08:00
nathanbegbie
b8e461e3d1
Update docs on larger applications wrt tutorial
...
The wording of the docs makes it sound like the tutorials use the simple structure for a flask application, which they no longer do.
This commit re-words the docs to make it clearer.
2019-01-06 14:53:03 -08:00
garenchan
5409606c3b
Docs: fix some typos in config.rst
2019-01-06 14:45:10 -08:00
Douglas Thor
830c77cb44
document that Config.from_object uses object as-is
2019-01-06 14:34:05 -08:00
David Lord
3b45b82ec2
Merge branch '1.0-maintenance'
2019-01-06 10:36:54 -08:00
David Lord
40e064fa27
use "-m virtualenv" in installation doc
2019-01-06 10:25:16 -08:00
Mark Amery
24325ecb69
Clarify and add detail to tojson docs
...
Fix some confusing and obsolete prose.
2019-01-06 09:44:09 -08:00
David Lord
aef4159588
Merge pull request #3031 from jseldess/fix-typos
...
Fix typos found while completing the Flask tutorial
2019-01-06 08:11:39 -08:00
Jesse Seldess
90aef1b2cf
Fix typos found while completing the Flask tutorial
2019-01-06 08:01:45 -08:00
Colin Adams
4f638b9c28
Clarify prefixing of URLs for blueprint endpoints
...
Clarify that endpoint names are prefixed by the name of the blueprint,
but the URL is not automatically prefixed.
2019-01-06 06:58:38 -08:00
Aly Sivji
2b74cf9f2d
Add SPA pattern to docs
2019-01-06 06:19:55 -08:00
David Lord
f7d50d4b67
Merge branch '1.0-maintenance'
2019-01-05 15:12:17 -08:00
David Lord
1096e226cc
Merge pull request #3064 from pallets/docs-fix
...
fix docs build
2019-01-05 15:06:41 -08:00
David Lord
8b567fea23
fix docs build
2019-01-05 14:59:25 -08:00
Emlyn Price
5e07e3a6ad
Add comment about using factory function in __init__.py
2019-01-04 22:12:53 +00:00
Oliver Bestwalter
d8400d7cac
Fix typo in class name
2018-12-21 15:36:58 +01:00
Hsiaoming Yang
d5665e4ba6
Merge pull request #2917 from garenchan/docs1
...
Docs: fix some errors in errorhandling.rst
2018-11-28 22:25:21 +09:00
David Lord
dcc02d6e7d
Merge pull request #2976 from cykerway/master
...
Fix inconsistency in testing doc.
2018-11-13 14:06:12 -05:00
Andrew Crouse
aec0cdc016
Update documentation for users to use flask-caching instead of the deprecated Werkzeug cache
2018-11-13 14:03:27 -05:00
Markus Unterwaditzer
339419117f
Fixes for sentry docs ( #2991 )
2018-11-07 21:04:10 +01:00
Adam Walsh
3bf80912cf
Update sentry error handling documentation ( #2990 )
...
- Change examples to use the Sentry Python SDK: `sentry-sdk`
- Removed the app factory pattern example
- Added a custom exception handling example
2018-11-07 20:25:52 +01:00
Cyker Way
43e2d7518d
Fix inconsistency in testing doc.
2018-10-29 20:53:39 -04:00
Aditya
f05625eb82
Use https for external links wherever possible
2018-10-27 17:58:45 +05:30
jangjunha
eef6c34b57
Fix deferred callback doc
2018-10-26 00:33:12 +09:00
David Lord
0b7a74dda3
split code and output
2018-09-21 06:05:52 -07:00
garenchan
357b710af2
Fix docs errors
...
1.Grammar error: 'return' should be 'returns'; 'would is' should be
'would be'.
2.Reloader is used to reload and fork process if modules were changed
rather than when an exception occurred.
3.The sample code is not concise enough.
2018-09-21 13:05:06 +08:00
Tom Busby
eae6440605
Make script output into comments to not break syntax highlighting
...
http://flask.pocoo.org/docs/1.0/quickstart/#url-building
In the URL Building section of the quickstart, the script output is shown right after the code.
This breaks syntax highlighting for the whole code-block. To fix this, I have made the output into comments.
2018-09-19 23:42:35 +02:00
Jarek Lipski
363205bdc3
fix @click.command example by adding parens
...
Otherwise the example fails with the following error:
"name = name or cmd.name AttributeError: 'function' object has no attribute 'name'".
More details: https://stackoverflow.com/a/51923415/4619705
2018-09-19 10:02:51 -07:00
Jarek Lipski
47dadcfe15
fix @click.command example by adding parens
...
Otherwise the example fails with the following error:
"name = name or cmd.name AttributeError: 'function' object has no attribute 'name'".
More details: https://stackoverflow.com/a/51923415/4619705
2018-09-19 18:55:12 +02:00
David Lord
0f4c9f1d57
reformat sphinx config
2018-09-17 08:35:53 -07:00
David Lord
ba868d681a
update sphinx config
2018-09-17 08:35:28 -07:00
chengkang
067c772588
remove DocVersion related
2018-09-17 21:05:53 +08:00
chengkang
3e86fd25e9
fix issue: no theme named 'flask' found
2018-09-17 16:18:52 +08:00
Grey Li
21b0aa6dd8
Add prefix for all commands in documentation ( #2877 )
...
* Add prefix for commands in docs
* Add prefix for commands in example's README
2018-09-09 17:41:56 +09:00
Alexis Benoist
b9b88b0cdf
doc reqcontext fix teardown example ( #2892 )
...
* doc reqcontext fix teardown example
* remove comments
2018-08-25 00:12:15 +09:00
cktan98
f45ceec31f
Fix grammatical error
2018-07-25 01:57:30 +08:00
David Lord
345685c014
Merge pull request #2861 from jwflory/fix/uwsgi-docs
...
[docs] Fix broken Sphinx cross-references; use :doc: tags where necessary
2018-07-20 10:42:09 -07:00
Jeremy Mayeres
c7791bb526
📚 Improve docs about ScriptInfo
...
Improve documentation for the CLI using application factories and
how/when the ScriptInfo object is passed with Application Discovery
2018-07-20 19:20:04 +02:00
Justin W. Flory
e771016a5b
Fix broken cross-references; use :doc: tags where necessary
2018-07-11 10:12:18 -05:00
Bill Fienberg
15b2301754
Fix grammatical error: incorrect verb conjugation
...
Before: >However, as a project *get* bigger
After: >However, as a project *gets* bigger
2018-06-29 14:35:44 -05:00
David Lord
b6edad64aa
Merge pull request #2843 from gcrsaldanha/use-set-literal-in-docs
...
🎨 Use set literal instead of set method in file uploading example
2018-06-28 07:22:35 -07:00
Juan Lara
bb63298b71
Typo in docs
...
"keeps track on" -> "keeps track of"
2018-06-27 21:49:21 -07:00
Gabriel Saldanha
c5af1be70f
🎨 Use set literal instead of set method
2018-06-27 08:58:26 -03:00
Kamil Wargula
c92c1e93c7
Update docs - add command for listing rules.
2018-06-20 14:39:08 +02:00
Grey Li
27e67dafc0
Remove unnecessary period in documentation
2018-06-17 12:12:37 +08:00
ThiefMaster
161c43649d
Merge branch '1.0-maintenance'
2018-06-14 13:31:40 +02:00
Saul Urias
0b4296ff17
Fix typo in appcontext.rst
2018-05-29 19:11:30 +02:00
David Lord
79fc8e5c31
Merge pull request #2806 from doobeh/uwsgi_doc_fix
...
Set uwsgi link to use :ref:
2018-05-28 12:25:06 -07:00
Anthony Plunkett
7cc71cccec
Set uwsgi link to use :ref:
...
Fixes #2802
2018-05-28 15:10:55 -04:00
Tiago Coutinho
c853d11fc5
Update gevent wsgi
...
gevent.wsgi is deprecated since gevent 1.1 and removed in gevent 1.3.
gevent.pywsgi should be used instead
2018-05-21 08:10:16 +02:00
Grey Li
07b9ff6e77
Make super() compatible for Python2
2018-05-16 19:13:19 +08:00
David Lord
a35a97e49d
Merge branch '0.12-maintenance' into 1.0-maintenance
2018-05-08 20:31:10 -07:00
Daniel Opitz
1c2a2cd001
Fixed LaTeX errors on documentation PDF generation
2018-05-08 20:30:36 -07:00
David Lord
335dcf8ec4
clarify the section navigation in installation
2018-05-08 20:10:27 -07:00
Mitchel Humpherys
725f391399
docs: installation: Add link to Quickstart after install
...
Once Flask is installed many users will want to proceed to the next section
in the docs (Quickstart). Add a link to the end of the Install section for
this.
2018-05-08 19:59:25 -07:00
Daniel Opitz
676efcc21a
Fixed LaTeX errors on documentation PDF generation
2018-05-03 02:01:49 +02:00
Aaron Hall, MBA
5a75da5471
add missing port to localhost URL
2018-04-30 19:03:05 -07:00
Aaron Hall, MBA
a6750079f8
add missing port to localhost URL
2018-04-30 21:28:53 -04:00
David Lord
6b2127b1e0
Merge pull request #2745 from dmarasquin/patch-1
...
Update quickstart.rst
2018-04-29 14:57:24 -07:00
Daiana Marasquin
104808b480
fix syntax error and typo in quickstart.rst
2018-04-29 14:51:13 -07:00
David Lord
5965cb7e1c
rename to FLASK_SKIP_DOTENV, add docs, test
2018-04-29 14:20:17 -07:00
Yao Long
9b6878af5a
document error on fileupload
...
after file uploaded, it should redirect for uploaded_file page instead
of upload page
2018-04-27 11:04:35 -07:00