David Lord
18d7875f0b
Merge pull request #2307 from neilvictorgrey/master
...
For Issue #2286 : Update unittest references
2017-05-23 11:50:31 -07:00
David Lord
739f7fde70
Update testing.rst
2017-05-23 11:50:14 -07:00
Neil Grey
b7b9fdf778
For Issue #2286 : Updating test_flaskr to use yield inside fixture
2017-05-22 18:22:08 -07:00
Tully Rankin
6fc1b1c7a6
Added uWSGI and example usage to stand-alone WSGI containers documentation ( #2302 )
2017-05-22 18:08:40 -07:00
Neil Grey
2318b4e1ae
For Issue #2286 : Fixing indenting of test_login_logout
2017-05-22 17:42:30 -07:00
Neil Grey
eb8e4e0537
For Issue #2286 : Replaces references to unittest in the documentation with pytest
2017-05-22 17:36:55 -07:00
Tully Rankin
089c8cdc00
Moved mod_wsgi under uwsgi in TOC deployment docs.
2017-05-22 15:13:31 -07:00
Tully Rankin
d6254174c3
Moved WSGI-Standalone above mod_wsgi in deployment documentation.
2017-05-22 14:48:24 -07:00
Tully Rankin
88e880ed42
Removed the version number out of the documenation link to Werkzeug.
2017-05-22 12:19:52 -07:00
Tully Rankin
1a3a9dcefb
Added link to using Werkzeug debugger in quickstart documentation.
2017-05-22 12:14:52 -07:00
Tully Rankin
b48d7e1231
Updated request context documentation.
2017-05-22 11:28:58 -07:00
Tully Rankin
3cf6c45d40
Updated documentation. Replaced term development mode with debug mode. #2261
2017-05-22 11:25:02 -07:00
David Lord
f8273fe496
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
616bbaae4e
Merge branch 'master' into celery-documentation
2017-05-15 12:17:09 -07:00
David Lord
93341b9e7d
clean up deferred callback doc
...
remove doc about writing after_this_request
[ci skip]
2017-05-11 22:48:21 -07:00
David Lord
e43755669c
Merge pull request #1965 from vioan/master
...
Added a missing module to import statement
2017-05-11 22:38:36 -07:00
David Lord
722093b70e
Merge pull request #2277 from jlara310/master
...
Improve quickstart's Routing section
2017-05-11 22:32:00 -07:00
David Lord
35428d04a8
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
78a4f53a24
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
49e263937a
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
21cdc1eb61
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
4f3ee8256a
Merge pull request #2210 from Larivact/patch-2
...
Clarify APPLICATION_ROOT documentation
2017-05-09 08:47:23 -07:00
David Lord
2a80eff1c4
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
452f442a8e
optionally enable sphinxcontrib.log_cabinet
...
collapses old changelog directives
closes #1704
closes #1867
2017-05-04 18:24:04 -07:00
David Lord
a81ad76f2d
clean up error handler docs
2017-04-30 08:20:13 -07:00
Benjamin Liebald
422b6c2df7
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
90aeed0012
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
0f514cea8f
use app.testing property instead of config
2017-04-13 16:32:44 -07:00
accraze
f3f4aa325b
Added missing testing config
...
fixes #1302
2017-04-13 16:27:58 -07:00
ka7
5a76bbe7c7
Fix typo in docs ( #2237 )
2017-04-11 21:44:32 +02:00
Grey Li
3d20e9184d
Add example for virtualenv integration in cli docs ( #2234 )
2017-04-07 07:10:43 -07:00
Adam Geitgey
742a143efd
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
d9e2d585e4
Issue #2212 : documentation: virtualenv and python3
2017-03-19 18:01:23 +01:00
Larivact
b9c8c7825d
Clarify APPLICATION_ROOT #1714
2017-03-17 05:41:20 +01:00
Jan Ferko
7664e605ba
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
42dfa1fce3
Fix broken link ( #2202 )
2017-03-08 20:26:38 +01:00
Hsiaoming Yang
9c5f048ad2
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
3eb41b7309
Fix typos/grammar in docs ( #2201 )
2017-03-06 14:05:59 +01:00
Elton Law
822697fe1f
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
f04ea7f2ba
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
17b4fa9b87
Remove extra HTML tag from fileupload docs ( #2141 )
2017-02-28 14:05:09 +09:00
Sergio Díaz Sánchez
6877025c8d
Updated documentation for being able to use init_db method
2017-02-28 00:13:45 +01:00
Timothy John Perisho Eccleston
aadce6bc34
Fix typo in docs/tutorial/templates.rst ( #2186 )
2017-02-18 07:41:58 +01:00
Jeff Widman
2ad2aadb88
Migrate various docs links to https ( #2180 )
...
Also fixed a few outdated links
2017-02-11 10:43:11 +01:00
vojtekb
83d2ba9cf8
py.test => pytest ( #2173 )
...
py.test => pytest
2017-02-09 18:34:16 +01:00
Swan Htet Aung
8ac70e1719
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
84e1e61f8e
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
07a0006121
Merge pull request #2131 from wgwz/add-larger-app-ex
...
Add larger app ex
2017-01-15 05:56:12 +01:00
Dennis Chen
b57c88e154
Fix Request Reference ( #2151 )
...
Points flask.Request to appropriate place in the documentation.
2017-01-14 21:58:45 +01:00
Ondřej Nový
fffd9bb650
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