Raphael Deem
1636a4c410
use SERVER_NAME to set host and port in app.run() ( #2152 )
8 years ago
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 ).
8 years ago
Kim Blomqvist
3fc8be5a4e
Disable debug when FLASK_DEBUG=False ( #2155 )
...
Convert FLASK_DEBUG envvar to lower before test if in tuple
8 years ago
Markus Unterwaditzer
47e8410117
Merge pull request #2131 from wgwz/add-larger-app-ex
...
Add larger app ex
8 years ago
Dennis Chen
9900a72fe7
Fix Request Reference ( #2151 )
...
Points flask.Request to appropriate place in the documentation.
8 years ago
David Lord
6c9ff85c3f
Merge pull request #2149 from onovy/master
...
Use SOURCE_DATE_EPOCH for copyright year to make build reproducible
8 years ago
Ondřej Nový
9dcfd05d29
Use SOURCE_DATE_EPOCH for copyright year to make build reproducible
...
Details: https://wiki.debian.org/ReproducibleBuilds/TimestampsProposal
8 years ago
David Lord
22c613b8c4
Merge pull request #2148 from drewja/master
...
Added python3.6 support for tests
8 years ago
Andrew Arendt
01b992b1a1
Added python3.6 support for tests
8 years ago
Adrian Moennich
88111ae6bf
Do not suggest deprecated flask.ext.*
8 years ago
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.
8 years ago
wgwz
1b7258f816
Provides a link to the examples src
...
- moved the link towards the top for better visibility
8 years ago
wgwz
46c1383919
Remove unneccessary arg in client fixture
8 years ago
wgwz
92fa444259
Moves largerapp into patterns dir and add test
...
- also adds this pattern into tox for testing
8 years ago
Markus Unterwaditzer
49386ee69e
Inherit Werkzeug docs ( #2135 )
...
Fix #2132
8 years ago
Markus Unterwaditzer
71c534d2c6
Merge branch '0.12-maintenance'
8 years ago
Markus Unterwaditzer
b0820bce59
Merge branch 'pawl-fix_import_error' into 0.12-maintenance
...
Fix #2133
8 years ago
Paul Brown
31e25facd3
update change log
8 years ago
Paul Brown
0832e77b14
prevent NoAppException when ImportError occurs within imported module
8 years ago
Markus Unterwaditzer
582a878ad9
Init 0.13 changelog
8 years ago
wgwz
949771adf5
Add reference to largerapp src in docs
8 years ago
wgwz
e49b73d2cf
Adds the largerapp from the docs as an example
8 years ago
Gábor Lipták
079d752cec
Update Flask-SQLAlchemy link ( #2126 )
8 years ago
Markus Unterwaditzer
f18fe15e6d
Merge branch '0.12-maintenance'
8 years ago
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
8 years ago
Markus Unterwaditzer
22cf57154a
Merge branch '0.12-maintenance'
8 years ago
Markus Unterwaditzer
8cd0b03bee
Bump to dev 0.12.1
8 years ago
Markus Unterwaditzer
caf6b8c314
Changelog stub for 0.12.1
8 years ago
Markus Unterwaditzer
b2e0886f48
Bump to dev version
8 years ago
Markus Unterwaditzer
1042d9d23f
Bump version number to 0.12
8 years ago
Markus Unterwaditzer
45c45ea73c
Version 0.12
8 years ago
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 )
8 years ago
Raphael Deem
0e79aba40d
use dict instead of if/else logic ( #2093 )
8 years ago
Hopsken
7f28837167
Update README for minitwit ( #2119 )
...
add step 2 to run minitwit
8 years ago
Sven-Hendrik Haase
0ba1a872b7
Style the flask command consistently ( #2120 )
...
It's done like this in other parts of this doc.
8 years ago
Sven-Hendrik Haase
ccb562854e
Remove wrong comma ( #2116 )
8 years ago
Markus Unterwaditzer
7fca843b5f
Merge pull request #2088 from ezramorris/patch-1
...
Add link to AWS EB Flask tutorial
8 years ago
ezramorris
4a8bf651d9
Add link to AWS EB Flask tutorial
8 years ago
Markus Unterwaditzer
7e1a13ffbd
Fix import error
8 years ago
Jannis Leidel
4cf4229355
Fix rST rendering of env var ( #2085 )
...
This was broken in ad011bc32d (diff-fd40cf2be7711772de9d8316da038cceR263)
8 years ago
Giles Thomas
281c9c3ff9
Added a link to instructions for PythonAnywhere ( #2081 )
8 years ago
David Lord
08d6de73a8
switch to packaged sphinx theme
8 years ago
Alex Kahan
2647fc7112
Parameterizing test ( #2073 )
8 years ago
Markus Unterwaditzer
a4ed3d2806
Use tox from make test
8 years ago
Tery Lim
ec9717502f
Update errorhandling.rst ( #2075 )
...
Fix LogRecord class reference.
8 years ago
Tery Lim
bbe58a4944
Update errorhandling.rst ( #2074 )
8 years ago
Shandy Brown
9685d14eaa
Correct grammar ( #2061 )
8 years ago
Clenimar Filemon
77af942b98
Capitalize occurrences of 'flask' ( #2067 )
8 years ago
Philippe Ombredanne
11809bf1d2
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.
8 years ago
Martijn Pieters
de1652467b
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.
8 years ago