Markus Unterwaditzer
bc4c1777e9
Document static_folder
10 years ago
Markus Unterwaditzer
beec47a7cc
Deduplicate signals docs
...
Triggered by #1390
10 years ago
Markus Unterwaditzer
3e07b9c287
Merge pull request #1491 from nvie/patch-1
...
Remove the word `trivially` here
10 years ago
Vincent Driessen
a4b335a64a
Remove the word `trivially` here
...
A lot of things are trivial, or debatably trivial, but this is not one of them :)
10 years ago
Markus Unterwaditzer
b471df6c88
Point to stable version of Celery
10 years ago
Keyan Pishdadian
805692108a
Update send_file() docs to clarify encoding requirement #1286
10 years ago
Markus Unterwaditzer
d13a1b363e
Rename jinja_env_class
...
Inspired by #1056
10 years ago
Markus Unterwaditzer
66b4ea91b4
Fix #1195
10 years ago
Jeff Widman
f80ea4fe5d
Some grammar and typo fixes
10 years ago
Daniel Neuhäuser
2b58e6120c
Fix wording
10 years ago
Daniel Neuhäuser
b9938d0182
Don't allow namespace packages anymore
10 years ago
Daniel Neuhäuser
b12d9762e7
Require Python 3.3 and higher for extensions
...
Flask and several extensions already supports Python 3.3 and higher. By
requiring approved extensions to support Python 3.3 as well we can
quickly achieve better Python 3 adoption and make using Python 3 easier
for users.
The effort of supporting both Python 2.7 and Python 3.3 is small enough
that it shouldn't be a problem to require this from extension authors.
10 years ago
Daniel Neuhäuser
3185f445c9
Drop Python 2.6 minimum requirement for extensions
...
Python 2.6 is not supported by python-dev anymore and does not get any
security updates. Even though Flask supports 2.6 at the moment, I think
it's not necessary for any extensions that are going to be approved in
the future to support 2.6.
10 years ago
Daniel Neuhäuser
43d6b8a5fc
Drop Extension==dev requirement
...
pip doesn't install links included in the description of projects
anymore. Therefore ==dev install doesn't work anymore.
10 years ago
Markus Unterwaditzer
063a8da4f8
Add changelog for #1218
10 years ago
Jeff Widman
f05aeea6dd
Correct the order of suggested syntax for extension imports
...
According to https://github.com/mitsuhiko/flask/issues/1092#issuecomment-47118613 and https://github.com/mitsuhiko/flask/pull/1085#issuecomment-45466907 , the correct order to attempt to import extensions should be flask_foo, then flask.ext.foo, then flaskext_foo.
10 years ago
Markus Unterwaditzer
5c68b24f64
Merge pull request #1483 from untitaker/improve-autodoc
...
Show original autodoc signatures
10 years ago
Markus Unterwaditzer
d40288496c
Show original autodoc signatures
...
Alternative to #1403
10 years ago
Markus Unterwaditzer
7a999cd4b8
Merge branch 'AndrewBMartin-patch-1'
10 years ago
Andrew
337a9d6172
Include backend argument when instantiating Celery
...
Not including the backend argument can lead to AttributeError:
DisabledBackend object has no attribute for '_get_task_meta_for'.
See e.g.
http://stackoverflow.com/questions/23215311/celery-with-rabbitmq-attributeerror-disabledbackend-object-has-no-attribute .
At the same time, including the backend argument doesn't seem to harm anything else.
10 years ago
Markus Unterwaditzer
1e857bfa71
Changelog for #1422
10 years ago
Markus Unterwaditzer
d00f5cc9fe
Merge branch 'ThiefMaster-override-jinja-env'
10 years ago
Markus Unterwaditzer
2446ca63a8
0.11 => 1.0
10 years ago
Markus Unterwaditzer
5ebf1e824d
Merge pull request #1480 from jmcarp/handle-empty-deque
...
Handle empty deque on errorhandler lookup.
10 years ago
Joshua Carp
348bf52188
Handle empty deque on errorhandler lookup.
...
After registering a custom errorhandler by exception class, raising any
unhandled exception in a view function swallows the error and instead
throws an `IndexError` on trying to look up the appropriate handler.
This patch avoids the uninformative `IndexError` and preserves the
original exception by looping until the deque of classes is empty, not
forever.
10 years ago
Markus Unterwaditzer
0d19fa0a06
Clarify some docs
...
Fix #1476
10 years ago
Markus Unterwaditzer
6e77cd709e
Merge pull request #1463 from moonshadow/fix_docstring
...
fix docstring for _find_errorhandler
10 years ago
Wang Haowei
be45a608e3
fix docstring for _find_errorhandler
10 years ago
Markus Unterwaditzer
1e15e17a66
Merge pull request #1461 from justinwp/patch-1
...
fixed import of werkzeug secure_filename
10 years ago
Justin Poehnelt
17d7353d39
fixed import of werkzeug secure_filename
10 years ago
Jon Banafato
887d382da1
Add X-Forwarded-Proto to proxy setup example
...
The ProxyFix middleware provided by Werkzeug uses this header for
returning accurate values from request.is_secure and request.scheme.
Without adding this header, Flask won't properly detect when it is being
served over HTTPS and will fail to generate proper external links and
cause certain extensions (e.g. Flask-OAuthlib) to function improperly.
Adding this header to the example setup should reduce issues encountered
by developers when following this guide.
10 years ago
Markus Unterwaditzer
3fe68c221a
Merge pull request #1455 from nickjj/docs_contributing
...
Add pip install --editable . to contributing docs
10 years ago
Nick Janetakis
8a96091644
Add pip install --editable . to contributing docs
10 years ago
Markus Unterwaditzer
f0926d7b18
Merge pull request #1453 from ozbek/master
...
Replace 'I' with 'We'
10 years ago
Shuhrat Dehkanov
a1c55a698c
Replace 'I' with 'We'
...
To be consistent with the usage elsewhere in the README
10 years ago
Markus Unterwaditzer
61f12d6a8d
Merge pull request #1450 from Carreau/importlib
...
importlib deprecated in 3.4
10 years ago
Matthias Bussonnier
2de525c720
importlib deprecated in 3.5.
...
Replace the use of importlib by types.ModuleType that seem to be
available since at least 2.6
closes gh-1449
10 years ago
Markus Unterwaditzer
73c833568d
Merge pull request #1448 from fordhurley/custom_converters
...
Mention that custom converters can be defined for url routes
10 years ago
Ford Hurley
d398780852
Mention that custom converters can be defined for url routes
10 years ago
Markus Unterwaditzer
73d89cccec
Errorhandlers were NOT *added* in 1.0
10 years ago
Markus Unterwaditzer
e99fec26ab
Merge pull request #1441 from andyxning/fix_pep8_with_logging
...
Fix pep8 with logging
10 years ago
ning.xie
1b7fad3716
fix pep8 with logging.py
10 years ago
Markus Unterwaditzer
aaebe9fe25
Merge pull request #1431 from untitaker/flask-errorhandling-amend
...
Some cleanup for errorhandling refactor
10 years ago
Markus Unterwaditzer
0bac2ade91
Fix formatting errors
10 years ago
Markus Unterwaditzer
7d506f2408
Recursively traverse MRO of exception
10 years ago
Markus Unterwaditzer
aed464b92b
Merge pull request #1291 from flying-sheep/errorhandler-rework
...
Fixed and intuitivized exception handling
10 years ago
Markus Unterwaditzer
06f2be3ae4
Merge pull request #1429 from flying-sheep/errorhandler-rework-docs
...
Added docs for the error handler rework
10 years ago
Phil Schaf
290372faf1
some details
10 years ago
Phil Schaf
4437eb7ceb
slimmed down error handling intro
10 years ago
Phil Schaf
d4ad47af62
added info about an exception being raised for the old and broken behavior
10 years ago