Commit graph

1098 commits

Author SHA1 Message Date
Tully Rankin
d7d21f5559 Moved WSGI-Standalone above mod_wsgi in deployment documentation. 2017-05-22 14:48:24 -07:00
Tully Rankin
50b73f967b Removed the version number out of the documenation link to Werkzeug. 2017-05-22 12:19:52 -07:00
Tully Rankin
409dd15c10 Added link to using Werkzeug debugger in quickstart documentation. 2017-05-22 12:14:52 -07:00
Tully Rankin
041c68f48b Updated request context documentation. 2017-05-22 11:28:58 -07:00
Tully Rankin
c590e820aa Updated documentation. Replaced term development mode with debug mode. #2261 2017-05-22 11:25:02 -07:00
David Lord
d5a88bf0d3
explain when to use a task queue
remove deprecated abstract attr from celery
add explanation of example task
[ci skip]
2017-05-15 12:40:09 -07:00
David Lord
f13e3fc352
Merge branch 'master' into celery-documentation 2017-05-15 12:17:09 -07:00
David Lord
cc59f2b204
clean up deferred callback doc
remove doc about writing after_this_request
[ci skip]
2017-05-11 22:48:21 -07:00
David Lord
0420cb21db Merge pull request #1965 from vioan/master
Added a missing module to import statement
2017-05-11 22:38:36 -07:00
David Lord
c01ddc59b7 Merge pull request #2277 from jlara310/master
Improve quickstart's Routing section
2017-05-11 22:32:00 -07:00
David Lord
2592f927a0
wrap lines
tighten up wording
remove any converter from quickstart
use correct rst code syntax
2017-05-11 22:31:19 -07:00
David Lord
1fb43e3be4
rewrite installation docs
discuss python version
discuss all dependencies
prefer python 3 in instructions
[ci skip]
2017-05-11 14:34:09 -07:00
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.
2017-05-10 22:38:22 -07:00
David Lord
5b83f11398 Merge pull request #2213 from runartrollet/doc_virtenv_p3
Issue #2212: documentation: virtualenv and python3
2017-05-09 11:04:23 -07:00
David Lord
d2a0b2911b Merge pull request #2210 from Larivact/patch-2
Clarify APPLICATION_ROOT documentation
2017-05-09 08:47:23 -07:00
David Lord
17685da8c0 Merge pull request #1942 from jmsdvl/fix-1935
clarify blueprint 404 error handling in docs
2017-05-09 08:44:58 -07:00
David Lord
75b85656dd
optionally enable sphinxcontrib.log_cabinet
collapses old changelog directives
closes #1704
closes #1867
2017-05-04 18:24:04 -07:00
David Lord
011a4b1899
clean up error handler docs 2017-04-30 08:20:13 -07:00
Benjamin Liebald
6032c94aeb
Mention existence of register_error_handler in errorpages.rst
See https://github.com/pallets/flask/issues/1837 for context.
2017-04-30 07:55:54 -07:00
David Lord
f22da31e7f Merge pull request #2191 from SergioDS/master
Updated documentation for being able to use init_db method
2017-04-21 11:45:16 -07:00
David Lord
03857cc48a
use app.testing property instead of config 2017-04-13 16:32:44 -07:00
accraze
1caa9de628
Added missing testing config
fixes #1302
2017-04-13 16:27:58 -07:00
ka7
e13eaeeaf2 Fix typo in docs (#2237) 2017-04-11 21:44:32 +02:00
Grey Li
ec18fe9477 Add example for virtualenv integration in cli docs (#2234) 2017-04-07 07:10:43 -07:00
Adam Geitgey
ae1ac2053b Correct imports in file upload example (#2230)
The example code uses `flash` but doesn't import it. So the code as written doesn't work.

This simply adds `flash` to the list of imports in the sample code.
2017-04-04 22:26:40 +02:00
Runar Trollet Kristoffersen
889c0ed196 Issue #2212: documentation: virtualenv and python3 2017-03-19 18:01:23 +01:00
Larivact
2995366dde Clarify APPLICATION_ROOT #1714 2017-03-17 05:41:20 +01:00
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.
2017-03-13 13:58:24 +01:00
Ben
7a5e8ef38e Fix broken link (#2202) 2017-03-08 20:26:38 +01:00
Hsiaoming Yang
a7f1a21c12 Don't rely on X-Requested-With for pretty print json response (#2193)
* Don't rely on X-Requested-With for pretty print json response

* Fix test cases for pretty print json patch

* Fix gramma error in docs for pretty print json config

* Add changelog for JSONIFY_PRETTYPRINT_REGULAR
2017-03-07 10:09:46 +09:00
Static
f5adb61b28 Fix typos/grammar in docs (#2201) 2017-03-06 14:05:59 +01:00
Elton Law
06112a555a Close <li> tag in tutorial (#2199)
Change was merged in the example code but wasn't changed in the docs. c54d67adee
2017-03-05 13:07:49 +01:00
Grey Li
c43560777a Add tips for debug config with flask cli (#2196)
* Add tips for debug config with flask cli

`app.debug` and `app.config['DEBUG']` are not compatible with the `flask` script.

* Grammar fix

* Grammar fix
2017-03-04 11:29:04 +01:00
Sebastian Kalinowski
fca5577a00 Remove extra HTML tag from fileupload docs (#2141) 2017-02-28 14:05:09 +09:00
Sergio Díaz Sánchez
af11098057 Updated documentation for being able to use init_db method 2017-02-28 00:13:45 +01:00
Timothy John Perisho Eccleston
dc5f48f587 Fix typo in docs/tutorial/templates.rst (#2186) 2017-02-18 07:41:58 +01:00
Jeff Widman
bb0e755c80 Migrate various docs links to https (#2180)
Also fixed a few outdated links
2017-02-11 10:43:11 +01:00
vojtekb
95db82f8f7 py.test => pytest (#2173)
py.test => pytest
2017-02-09 18:34:16 +01:00
Swan Htet Aung
f84fdadda9 Update 4.4.3 HTTP Methods Example
Otherwise it produces `ValueError: View function did not return a response`.
2017-02-09 18:01:12 +06:30
Jeff Widman
fe7910ccd5 Update docs that request is an object, not a class (#2154)
Cleanup sphinx formatting to show that `request` is an object, not a class. The actual class name is `Request`.

Based on discussion [here](https://github.com/pallets/flask/pull/2151#issuecomment-272699147).
2017-01-17 20:20:07 +01:00
Markus Unterwaditzer
47e8410117 Merge pull request #2131 from wgwz/add-larger-app-ex
Add larger app ex
2017-01-15 05:56:12 +01:00
Dennis Chen
9900a72fe7 Fix Request Reference (#2151)
Points flask.Request to appropriate place in the documentation.
2017-01-14 21:58:45 +01:00
Ondřej Nový
9dcfd05d29 Use SOURCE_DATE_EPOCH for copyright year to make build reproducible
Details: https://wiki.debian.org/ReproducibleBuilds/TimestampsProposal
2017-01-13 10:54:55 +01:00
Adrian Moennich
88111ae6bf Do not suggest deprecated flask.ext.* 2017-01-10 13:12:18 +01:00
Bryce Guinta
09973a7387 Fix fastcgi lighttpd example documentation. (#2138)
Add a trailing slash to the dummy path in the fastcgi lighttpd setup
documentation. Omitting a trailing slash leads to unintended behavior.
2017-01-01 18:51:21 -08:00
wgwz
1b7258f816 Provides a link to the examples src
- moved the link towards the top for better visibility
2016-12-31 18:51:00 -05:00
Markus Unterwaditzer
49386ee69e Inherit Werkzeug docs (#2135)
Fix #2132
2016-12-31 16:31:44 +01:00
wgwz
949771adf5 Add reference to largerapp src in docs 2016-12-30 13:42:14 -05:00
Gábor Lipták
079d752cec Update Flask-SQLAlchemy link (#2126) 2016-12-28 16:11:33 +01:00
Sven-Hendrik Haase
0ba1a872b7 Style the flask command consistently (#2120)
It's done like this in other parts of this doc.
2016-12-21 21:06:48 +01:00