Commit graph

2657 commits

Author SHA1 Message Date
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
Markus Unterwaditzer
afb013e260 Changelog stub for 0.12.1 2016-12-25 16:35:06 +01:00
Markus Unterwaditzer
b10c4c69c8 Bump to dev version 2016-12-21 21:22:26 +01:00
Markus Unterwaditzer
1a37924e5a Bump version number to 0.12 2016-12-21 21:22:08 +01:00
Markus Unterwaditzer
09f5dcfdc6 Version 0.12 2016-12-21 21:19:53 +01:00
Jiri Kuncar
cb001d3ad0 Ignore cache on request.get_json(cache=False) call (#2089)
* Test cache argument of Request.get_json

* Ignore cache on request.get_json(cache=False) call

Removes usage of `_cached_json` property when `get_json` is called with
disabled cache argument. (closes #2087)
2016-12-21 21:08:38 +01:00
Raphael Deem
46efe74805 use dict instead of if/else logic (#2093) 2016-12-21 21:07:57 +01:00
Hopsken
755401d5dc Update README for minitwit (#2119)
add step 2 to run minitwit
2016-12-21 21:07:09 +01:00
Sven-Hendrik Haase
41d4c60e0b 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
Sven-Hendrik Haase
5d4e95735e Remove wrong comma (#2116) 2016-12-19 05:37:34 -08:00
Markus Unterwaditzer
08188019b7 Merge pull request #2088 from ezramorris/patch-1
Add link to AWS EB Flask tutorial
2016-11-18 15:38:31 +01:00
ezramorris
7f0240cabc Add link to AWS EB Flask tutorial 2016-11-17 14:01:30 +00:00
Markus Unterwaditzer
0aa7ebd1e9 Fix import error 2016-11-15 11:58:44 +01:00
Jannis Leidel
8d03e03764 Fix rST rendering of env var (#2085)
This was broken in ad011bc32d (diff-fd40cf2be7711772de9d8316da038cceR263)
2016-11-15 11:57:09 +01:00
Giles Thomas
9e309d1b0c Added a link to instructions for PythonAnywhere (#2081) 2016-11-07 10:10:02 -08:00
Alex Kahan
279a925ab8 Parameterizing test (#2073) 2016-11-03 10:11:24 -07:00
Markus Unterwaditzer
f31af2351b Use tox from make test 2016-11-02 17:56:59 +01:00
Tery Lim
bbe09aba26 Update errorhandling.rst (#2075)
Fix LogRecord class reference.
2016-11-01 21:04:20 -07:00
Tery Lim
49613fe775 Update errorhandling.rst (#2074) 2016-11-01 19:58:22 -07:00
Shandy Brown
816939e907 Correct grammar (#2061) 2016-11-01 18:52:54 -07:00
Clenimar Filemon
562656af0a Capitalize occurrences of 'flask' (#2067) 2016-11-01 18:52:32 -07:00
Philippe Ombredanne
d631385f02 Add license_file to setup.cfg metadata (#2024)
Without this, the LICENSE file is never included in the built wheels: this makes it harder for users to comply with the license.
With this addition a file LICENSE.txt will be created in the `xxx.dist-info` directory with the content of the `license_file` file, e.g. the top level LICENSE.
2016-11-01 13:11:53 -07:00
Martijn Pieters
3e0cb3d3be Remove busy-work. (#2072)
It is entirely sufficient to walk the MRO of the exception class, no need to check for classes re-appearing later on, no need to add the MRO of any superclass.

* Python refuses point-blank to create a class with a circular MRO.
* All classes in a superclass MRO *already* appear in the MRO of the derived type. Re-adding the contents of a superclass MRO is doing double work.
2016-11-01 07:35:17 -07:00
Alex Kahan
fbcba68f5f Adding coverage generation to tox (#2071)
* Adding coverage generation to tox

* Removing test directory from coverage command

* Adding back  to pytest command
2016-10-31 23:10:27 +01:00