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
6 years ago
Daiana Marasquin
104808b480
fix syntax error and typo in quickstart.rst
7 years ago
David Lord
303a3d24a6
rewrite quickstart Unique URLs section
7 years ago
David Lord
87c2e121e0
clean up FLASK_ENV docs [ci skip]
7 years ago
Armin Ronacher
2433522d29
Add Support for FLASK_ENV ( #2570 )
...
This introduces environments to Flask
7 years ago
Vladimir Kroz
d08d96acbc
Fix code example for HTTP Methods
...
`return` is required to make 'http methods' example work
7 years ago
David Lord
465922e5f1
clean up secret key docs
...
consistent key across docs and examples
consistent key across tests, set in conftest
7 years ago
Levi Roth
954d9ca0b8
Added documentation for PowerShell environment variables
8 years ago
Tully Rankin
50b73f967b
Removed the version number out of the documenation link to Werkzeug.
8 years ago
Tully Rankin
409dd15c10
Added link to using Werkzeug debugger in quickstart documentation.
8 years ago
David Lord
2592f927a0
wrap lines
...
tighten up wording
remove any converter from quickstart
use correct rst code syntax
8 years ago
Xephyr826
dfb03c5673
Improve Routing section
...
Edited the entire section for clarity and concision. I rewrote sentences
to make them shorter and to reduce ambiguity.
Added a code sample to show the path converter type
Removed the HTTP method overview. Although it was well written, the
overview wasn't necessary in the quickstart. Readers can easily find an
overview elsewhere.
8 years ago
Jan Ferko
1add1f8a02
Use print function in quickstart ( #2204 )
...
Example in URL Building section uses `print` statement
instead of `print` function, which causes syntax error
when example is run on Python 3.
8 years ago
Jeff Widman
bb0e755c80
Migrate various docs links to https ( #2180 )
...
Also fixed a few outdated links
8 years ago
Swan Htet Aung
f84fdadda9
Update 4.4.3 HTTP Methods Example
...
Otherwise it produces `ValueError: View function did not return a response`.
8 years ago
Dennis Chen
9900a72fe7
Fix Request Reference ( #2151 )
...
Points flask.Request to appropriate place in the documentation.
8 years ago
Michael Recachinas
49ecc88d99
Remove `-a/--app` from Quickstart documentation ( #2046 )
...
* Remove `-a/--app` from Quickstart documentation
As mentioned in #2009 , simplifying the CLI saw the removal of the `-a/--app` flag. Therefore, the only way to specify the module to import is by setting `FLASK_APP`.
* Remove misleading `either` from CLI help
The CLI help details how to run the application, but still uses the phrasing "either through the `FLASK_APP`...". This likely is an artifact from when `-a/--app` was still present in the CLI.
8 years ago
dawran6
3d856e03fc
sessions documentation (client side vs server side) #434 ( #1888 )
...
Mention the existence of Flask extentions that handle server-side
sessions.
Attempt to improve the reading flow.
8 years ago
David Lord
1928f28a68
clean up code formatting in some docs
...
fix warnings while building docs
8 years ago
David Lord
cd1a9b7d54
remove unnecessary form action attributes
9 years ago
Markus Unterwaditzer
f91aea2aa0
quickstart: Remove reference to `python hello.py`
...
Fix #1826
9 years ago
Armin Ronacher
a7d829c618
Update docs to the new CLI patterns
9 years ago
bagratte
9a80fe691d
minor revision of documentation.
9 years ago
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
9 years ago
Markus Unterwaditzer
66b4ea91b4
Fix #1195
10 years ago
Justin Poehnelt
17d7353d39
fixed import of werkzeug secure_filename
10 years ago
Phil Schaf
9d3c4bbb8c
Added docs for the error handler rework
10 years ago
Winston Kouch
5f8c850895
Add extensions section to Quickstart documentation
10 years ago
Carlos Eduardo Rivera
65465ffece
grammar fixes
10 years ago
Sateesh
b9eb805167
Update quickstart.rst
...
Minor grammar correction.
10 years ago
defuz
1501b79293
docs: :exc:`TypeError`
10 years ago
defuz
d4b9b9854c
docs: :mimetype:`application/json`
10 years ago
defuz
663802e976
docs: ``with``, ``for``, ``self``
10 years ago
defuz
06d9a5e738
docs: :file:`/var/www/foo`, ``/static``
10 years ago
defuz
02694d609f
docs: :command:`pip`, :option:`--debug`
10 years ago
defuz
a8f570cc62
docs: :file:`app.py`, :file:`yourapp/templates`
10 years ago
defuz
3fa4fd0908
docs: http method names like ``GET`` and ``POST``
10 years ago
Petr Zemek
d1423b3e16
Unify the uses of "file system" vs "fileystem".
...
Use "filesystem", which is more prevailing in the source code.
10 years ago
Markus Unterwaditzer
5c6d789e7b
Fix broken link
10 years ago
Kevin Funk
0632d53f3d
Update quickstart.rst
...
url converters: match the [API docs](http://flask.pocoo.org/docs/0.10/api/#url-route-registrations )
10 years ago
Markus Unterwaditzer
3d3b809347
Rewrite deployment docs
10 years ago
Nico Revin
22219f51e5
Update doclinks
...
Fix redirects and broken links
10 years ago
Armin Ronacher
e9d1fc47bf
Updated docs for click support
11 years ago
Daniel Neuhäuser
51228ad0d1
Use https for devcenter.heroku.com
11 years ago
Daniel Neuhäuser
52def324b8
Use https instead of http for docs.python.org
11 years ago
Daniel Neuhäuser
20edb3189c
Fix Pocoo documentation links
11 years ago
Mikael Åhlén
70f8b39c52
added a new behaviour for responses that enable the tuple to be in the form of (response, headers) and continiue to support the (response, status, headers) format.
11 years ago
d3spis3d
05dbf52fa5
URL Reversing in Quickstart #779
...
Updated quickstart to make clear that URL reversing refers to the use of
url_for() to build the URL. Issue #779
11 years ago
Alexey Shamrin
f161a71c19
quickstart: import `request` in HTTP methods example
11 years ago
Daniel Neuhäuser
5207c69064
Fix #856 ommited typo in quickstart
11 years ago