David Lord
9e84eaa6c2
Merge pull request #2209 from svenstaro/print-stacktrace-on-cli-error
...
Print a stacktrace on CLI error (closes #2208 )
2017-03-16 13:43:01 -07:00
Sven-Hendrik Haase
edd6e3154d
Add test to showcase that printing a traceback works
2017-03-16 20:56:12 +01:00
Sven-Hendrik Haase
c53aa3affe
Remove useless pass
2017-03-16 14:42:16 +01:00
Sven-Hendrik Haase
ae6617e85d
Print a stacktrace on CLI error ( closes #2208 )
2017-03-16 14:37:58 +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
John Bodley
0dae045fe7
Document run() host defaulting to SERVER_NAME
2017-03-11 18:59:34 +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
Adrian
b780d771ef
Fix typo
2017-03-04 22:32:23 +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
Timothy John Perisho Eccleston
aadce6bc34
Fix typo in docs/tutorial/templates.rst ( #2186 )
2017-02-18 07:41:58 +01:00
Nick Ficano
4b25b483b8
Fix typo in file header (jsonimpl => json)
2017-02-15 17:55:56 +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
Jeff Widman
742ea5221d
bdist_wheel replaces wheel ( #2179 )
...
https://packaging.python.org/distributing/#universal-wheels
2017-02-10 12:19:59 +01:00
Markus Unterwaditzer
4f0ab34559
Remove examples dir again
2017-02-09 18:35:21 +01:00
vojtekb
83d2ba9cf8
py.test => pytest ( #2173 )
...
py.test => pytest
2017-02-09 18:34:16 +01:00
Markus Unterwaditzer
3c03860a71
Merge pull request #2175 from swanhtet1992/patch-1
...
Update 4.4.3 HTTP Methods Example
2017-02-09 15:29:58 +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
Armin Ronacher
02b5eadc43
Convert Flask.run into a noop when run from the CLI
2017-01-29 12:26:52 +01:00
David Lord
7af6c7fa97
add test and changelog for SERVER_NAME app.run default
...
ref #2152
2017-01-17 14:08:33 -08:00
Raphael Deem
eb6e8e40b2
use SERVER_NAME to set host and port in app.run() ( #2152 )
2017-01-17 13:22:16 -08:00
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
Kim Blomqvist
c31e0ade9e
Disable debug when FLASK_DEBUG=False ( #2155 )
...
Convert FLASK_DEBUG envvar to lower before test if in tuple
2017-01-17 07:15:51 -08: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
David Lord
dfb896128c
Merge pull request #2149 from onovy/master
...
Use SOURCE_DATE_EPOCH for copyright year to make build reproducible
2017-01-13 05:30:22 -08: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
David Lord
7e8d606aa9
Merge pull request #2148 from drewja/master
...
Added python3.6 support for tests
2017-01-10 10:07:26 -08:00
Andrew Arendt
9f0db54689
Added python3.6 support for tests
2017-01-10 11:20:53 -06:00
Adrian Moennich
fffe46cf87
Do not suggest deprecated flask.ext.*
2017-01-10 13:12:18 +01:00
Bryce Guinta
e474e244f8
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
6cf3aa2973
Provides a link to the examples src
...
- moved the link towards the top for better visibility
2016-12-31 18:51:00 -05:00
wgwz
750d01b30b
Remove unneccessary arg in client fixture
2016-12-31 12:37:39 -05:00
wgwz
cc9b3c60da
Moves largerapp into patterns dir and add test
...
- also adds this pattern into tox for testing
2016-12-31 12:08:25 -05:00
Markus Unterwaditzer
7ddad080d3
Inherit Werkzeug docs ( #2135 )
...
Fix #2132
2016-12-31 16:31:44 +01:00
Markus Unterwaditzer
6e1c4293cf
Merge branch '0.12-maintenance'
2016-12-30 22:46:26 +01:00
Markus Unterwaditzer
824b11a347
Merge branch 'pawl-fix_import_error' into 0.12-maintenance
...
Fix #2133
2016-12-30 22:46:03 +01:00
Paul Brown
b2b61ecca9
update change log
2016-12-30 22:45:53 +01:00
Paul Brown
74a0eee5a1
prevent NoAppException when ImportError occurs within imported module
2016-12-30 22:45:53 +01:00
Markus Unterwaditzer
09a93c6a71
Init 0.13 changelog
2016-12-30 22:29:08 +01:00
wgwz
767779920b
Add reference to largerapp src in docs
2016-12-30 13:42:14 -05:00
wgwz
055708866b
Adds the largerapp from the docs as an example
2016-12-30 13:42:05 -05:00
Gábor Lipták
d907eda370
Update Flask-SQLAlchemy link ( #2126 )
2016-12-28 16:11:33 +01:00
Markus Unterwaditzer
38dd25a3cd
Merge branch '0.12-maintenance'
2016-12-26 03:51:12 +01:00
Markus Unterwaditzer
5512e424b6
Fix config.from_pyfile on Python 3 ( #2123 )
...
* Fix config.from_pyfile on Python 3
Fix #2118
* Support Python 2.6
* Fix tests on Python 2
2016-12-26 03:50:47 +01:00
Markus Unterwaditzer
de3c5cebb8
Merge branch '0.12-maintenance'
2016-12-25 16:36:17 +01:00
Markus Unterwaditzer
8da8bd1f62
Bump to dev 0.12.1
2016-12-25 16:35:30 +01:00