Commit Graph

2664 Commits

Author SHA1 Message Date
Jeff Widman 5efb163237 bdist_wheel replaces wheel (#2179)
https://packaging.python.org/distributing/#universal-wheels
2017-02-10 12:19:59 +01:00
Markus Unterwaditzer 89798ea7dd Remove examples dir again 2017-02-09 18:35:21 +01:00
vojtekb 95db82f8f7 py.test => pytest (#2173)
py.test => pytest
2017-02-09 18:34:16 +01:00
Markus Unterwaditzer 9e2807da76 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 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
Armin Ronacher c9b33d0e86 Convert Flask.run into a noop when run from the CLI 2017-01-29 12:26:52 +01:00
David Lord 42fbbb4cbb
add test and changelog for SERVER_NAME app.run default
ref #2152
2017-01-17 14:08:33 -08:00
Raphael Deem 1636a4c410 use SERVER_NAME to set host and port in app.run() (#2152) 2017-01-17 13:22:16 -08:00
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
Kim Blomqvist 3fc8be5a4e 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 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
David Lord 6c9ff85c3f 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ý 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
David Lord 22c613b8c4 Merge pull request #2148 from drewja/master
Added python3.6 support for tests
2017-01-10 10:07:26 -08:00
Andrew Arendt 01b992b1a1 Added python3.6 support for tests 2017-01-10 11:20:53 -06: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
wgwz 46c1383919 Remove unneccessary arg in client fixture 2016-12-31 12:37:39 -05:00
wgwz 92fa444259 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 49386ee69e Inherit Werkzeug docs (#2135)
Fix #2132
2016-12-31 16:31:44 +01:00
Markus Unterwaditzer 71c534d2c6 Merge branch '0.12-maintenance' 2016-12-30 22:46:26 +01:00
Markus Unterwaditzer b0820bce59 Merge branch 'pawl-fix_import_error' into 0.12-maintenance
Fix #2133
2016-12-30 22:46:03 +01:00
Paul Brown 31e25facd3 update change log 2016-12-30 22:45:53 +01:00
Paul Brown 0832e77b14 prevent NoAppException when ImportError occurs within imported module 2016-12-30 22:45:53 +01:00
Markus Unterwaditzer 582a878ad9 Init 0.13 changelog 2016-12-30 22:29:08 +01:00
wgwz 949771adf5 Add reference to largerapp src in docs 2016-12-30 13:42:14 -05:00
wgwz e49b73d2cf Adds the largerapp from the docs as an example 2016-12-30 13:42:05 -05:00
Gábor Lipták 079d752cec Update Flask-SQLAlchemy link (#2126) 2016-12-28 16:11:33 +01:00
Markus Unterwaditzer f18fe15e6d Merge branch '0.12-maintenance' 2016-12-26 03:51:12 +01:00
Markus Unterwaditzer 789715adb9 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 22cf57154a Merge branch '0.12-maintenance' 2016-12-25 16:36:17 +01:00
Markus Unterwaditzer 8cd0b03bee Bump to dev 0.12.1 2016-12-25 16:35:30 +01:00
Markus Unterwaditzer caf6b8c314 Changelog stub for 0.12.1 2016-12-25 16:35:06 +01:00
Markus Unterwaditzer b2e0886f48 Bump to dev version 2016-12-21 21:22:26 +01:00
Markus Unterwaditzer 1042d9d23f Bump version number to 0.12 2016-12-21 21:22:08 +01:00
Markus Unterwaditzer 45c45ea73c Version 0.12 2016-12-21 21:19:53 +01:00
Jiri Kuncar 36425d5f91 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 0e79aba40d use dict instead of if/else logic (#2093) 2016-12-21 21:07:57 +01:00
Hopsken 7f28837167 Update README for minitwit (#2119)
add step 2 to run minitwit
2016-12-21 21:07:09 +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
Sven-Hendrik Haase ccb562854e Remove wrong comma (#2116) 2016-12-19 05:37:34 -08:00
Markus Unterwaditzer 7fca843b5f Merge pull request #2088 from ezramorris/patch-1
Add link to AWS EB Flask tutorial
2016-11-18 15:38:31 +01:00
ezramorris 4a8bf651d9 Add link to AWS EB Flask tutorial 2016-11-17 14:01:30 +00:00
Markus Unterwaditzer 7e1a13ffbd Fix import error 2016-11-15 11:58:44 +01:00
Jannis Leidel 4cf4229355 Fix rST rendering of env var (#2085)
This was broken in ad011bc32d (diff-fd40cf2be7711772de9d8316da038cceR263)
2016-11-15 11:57:09 +01:00
Giles Thomas 281c9c3ff9 Added a link to instructions for PythonAnywhere (#2081) 2016-11-07 10:10:02 -08:00
Alex Kahan 2647fc7112 Parameterizing test (#2073) 2016-11-03 10:11:24 -07:00
Markus Unterwaditzer a4ed3d2806 Use tox from make test 2016-11-02 17:56:59 +01:00