David Lord
b178e89e44
Merge pull request #2695 from pallets/backport-2691-json-encoding
...
detect UTF encodings when loading json
7 years ago
David Lord
0e1e9a04aa
detect UTF encodings when loading json
7 years ago
David Lord
aab4c8c745
Merge pull request #2694 from pallets/backport-2359-cli-warning
...
backport #2359 fix python -m import warning
7 years ago
David Lord
18c9db4794
be smarter about adding ".cli" to reloader command
...
python -m flask.cli raises an import warning on > 2.6
it's only needed on 2.6, "flask" works otherwise
7 years ago
ThiefMaster
c52e1b7388
Fix ValueError for some invalid Range requests
...
fixes #2526
7 years ago
Markus Unterwaditzer
f347d3c59e
Bump to dev version
8 years ago
Markus Unterwaditzer
571334df8e
Bump version number to 0.12.2
8 years ago
Markus Unterwaditzer
bb83ae9843
Release 0.12.2
8 years ago
David Lord
f7c35bf0d5
safe_join on Windows uses posixpath
...
fixes #2033
closes #2059
8 years ago
David Lord
4ff84d537a
get mtime in utc
8 years ago
David Lord
cfd3e50ab6
use app.testing property instead of config
8 years ago
Markus Unterwaditzer
07a705888c
Bump to dev version
8 years ago
Markus Unterwaditzer
a34d0e6878
Bump version number to 0.12.1
8 years ago
Markus Unterwaditzer
f7d6d4d4f6
Prepare for 0.12.1
8 years ago
Markus Unterwaditzer
80c7db638c
Correct changelog
8 years ago
Markus Unterwaditzer
c28a168f35
Merge branch 'Diggsey-db-handle-baseexceptions' into 0.12-maintenance
8 years ago
Diggory Blake
6f7847e3c4
Make test more idiomatic
8 years ago
Diggory Blake
d0e2e7b66c
Add test and changes
8 years ago
Diggory Blake
12c49c75fb
Handle BaseExceptions
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
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
8cd0b03bee
Bump to dev 0.12.1
8 years ago
Markus Unterwaditzer
caf6b8c314
Changelog stub for 0.12.1
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
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
Alex Kahan
6478d7bb99
Adding coverage generation to tox ( #2071 )
...
* Adding coverage generation to tox
* Removing test directory from coverage command
* Adding back to pytest command
8 years ago
Clenimar Filemon
cb30a3b562
Update docstring for errorhandler() ( #2070 )
8 years ago
Markus Unterwaditzer
2b8fef4fe7
Merge branch '0.11-maintenance'
8 years ago
Kyle Lawlor
fa087c8929
Fixes import statement in flaskr ( #2068 )
...
- `from flaskr.flaskr import app` in flaskr/__init__.py
causes an import error with Python 2
- The relative import now used works for py2 and py3
8 years ago
Ionuț Ciocîrlan
2cc76628d2
Fix grammar in docs
8 years ago