Armin Ronacher
52e1c383fa
Make Python 3 happy
11 years ago
Armin Ronacher
6ec83e18dc
Added a workaround for a pypy bug in context managers
11 years ago
Nicholas Zaccardi
ea656a8909
added a note to the api documentation about JSON_SORT_KEYS. Fixes #922
11 years ago
Guriec Corbel
21aa620b6b
Remove the extra "1"
11 years ago
Matt Wright
90a50f8b51
Add `get_namespace` method on `Config` object for convenient access of namespaced config options.
11 years ago
Kenneth Reitz
de7e2bcf7a
Merge pull request #947 from Ivoz/master
...
Release as universal python wheel (2/3 compat)
11 years ago
Ifiok Jr.
cb61696b47
Update appcontext.rst
...
small edit
11 years ago
Spittie
de3dbd3125
Update fileuploads.rst
...
secure_filename is under werkzeug.utils (http://werkzeug.pocoo.org/docs/utils/ )
11 years ago
Matt Iversen
b0bb6c7f3d
Release as universal python wheel (2/3 compat)
11 years ago
Tommaso Allevi
b81b040110
Remove unused import
11 years ago
Tommaso Allevi
f0f6545374
Use json method
...
Use json method of response.Response
11 years ago
Daniel Neuhäuser
b2971ec68c
Merge pull request #943 from skeuomorf/favicon
...
Added a favicon for the docs
11 years ago
skeuomorf
cf0953619e
Added a favicon for the docs
11 years ago
bool-dev
85aa4ec8c1
Updated greenlet links, which were dead.
11 years ago
Daniel Neuhäuser
d517f35d60
Merge branch '0.10-maintenance'
11 years ago
Daniel Neuhäuser
52098e1e4f
Happy New Year 2014
11 years ago
Mikael Åhlén
dbc4096191
added a new test case with a Response instance and cleaned up the code
11 years ago
Mikael Åhlén
70f8b39c52
added a new behaviour for responses that enable the tuple to be in the form of (response, headers) and continiue to support the (response, status, headers) format.
11 years ago
Zachary Wright Heller
5addabfbdd
Fix typo in helpers.py
11 years ago
Mark Hildreth
6a37c1716d
Fixed incorrect grammar in Config.rst
...
Fixed incorrect grammar in "SESSION_REFRESH_EACH_REQUEST" configuration description.
11 years ago
Afik
67c165bcbb
Update celery.rst
...
With the latest version of Celery (3.1.6), following this tutorial produces the following error when attempting to start the celery worker:
user_preload = tuple(self.app.user_options['preload'] or ())
AttributeError: 'Flask' object has no attribute 'user_options'
Using `app` as the variable name here confuses celery. Renaming `app` to `flask_app` in the tutorial solves the issue and allows the celery worker to start successfully.
11 years ago
Armin Ronacher
afd3c4532b
Rewrapped lines
11 years ago
Reetta Vaahtoranta
0d648fa468
Changed the wording of some sentences there were difficult to understand.
11 years ago
Daniel Neuhäuser
d4f8634289
Merge pull request #899 from pengfei-xue/master
...
fix typo(there-> their)
11 years ago
Pengfei Xue
ecb31c6804
fix typo
11 years ago
d3spis3d
05dbf52fa5
URL Reversing in Quickstart #779
...
Updated quickstart to make clear that URL reversing refers to the use of
url_for() to build the URL. Issue #779
11 years ago
Daniel Neuhäuser
d14f57d9b8
Merge pull request #895 from daybarr/patch-1
...
Fix typo in docs for error_handler_spec
11 years ago
Day Barr
c021e58775
Fix typo in docs for error_handler_spec
11 years ago
Christopher Su
9cecf0d81c
moved Table import to next code block
11 years ago
Daniel Neuhäuser
5689ef3639
Fix typo s/at at/at a/
11 years ago
Daniel Neuhäuser
b63a9926dd
Merge branch '0.10-maintenance'
11 years ago
Daniel Neuhäuser
a3a2f521f1
Clear exceptions when pushing a context
...
Fixes #882
11 years ago
Daniel Neuhäuser
544118bef9
Merge pull request #891 from ThiefMaster/docs-flaskext
...
Don't refer to flaskext in app.extensions docs
11 years ago
Daniel Neuhäuser
4212e67d29
Merge pull request #890 from seancron/documentation-fix
...
Documentation fix: Makes the error names consistent
11 years ago
Daniel Neuhäuser
cab514e9f1
Merge pull request #886 from talam/patch-1
...
Updated some typos
11 years ago
Adrian
46b5754d97
Don't refer to flaskext in docs
11 years ago
Sean Cronin
a7f5d60789
Makes the error names consistent
11 years ago
Matt Skone
1df0f2dc1c
Escaped 'text' keyword in column name.
11 years ago
talam
b7f21831fa
Updated some typos
...
Fixed some incorrect variable references.
11 years ago
John Hobbs
e31a2a80ec
Update url_for documentation
...
Previous documentation referenced a non-existent property on the Flask
object called "build_error_handler".
This should actually reference Flask.url_build_error_handlers.
11 years ago
rsyring
fc85bf42ae
Update appfactories.rst, make extension related section clearer
11 years ago
Alexey Shamrin
f161a71c19
quickstart: import `request` in HTTP methods example
11 years ago
Hyunjun Kim
5ecca4c0da
Fix a typo on blueprints module name.
11 years ago
defuz
3e485009a8
add TEMPLATES_AUTO_RELOAD option to config
11 years ago
defuz
475b0c1cd9
fix typo (jsonfiy)
11 years ago
dmackinnon
231f45b432
Fix typo
11 years ago
Daniel Richman
3d67736e09
Check error handlers for specific classes first
...
This allows adding error handlers like this:
@app.errorhandler(werkzeug.exceptions.Forbidden)
And subclassing HTTPExceptions:
class ForbiddenBecauseReason(Forbidden): pass
@app.errorhandler(ForbiddenBecauseReason)
def error1(): return "Forbidden because reason", 403
@app.errorhandler(403)
def error2(): return "Forbidden", 403
... the idea being, that a flask extension might want to raise an
exception, with the default behaviour of creating a HTTP error page,
but still allowing the user to add a view/handler specific to that
exception (e.g., "Forbidden because you are not in the right group").
11 years ago
Christopher Su
8089eb5769
added missing import in sqlalchemy doc
11 years ago
Oliver Beattie
2a512ab907
Merge branch 'master' of github.com:obeattie/flask
11 years ago
Oliver Beattie
bb882454a0
Make the decorators attribute on View a tuple by default
...
To discourage accidental runtime modification applying to all views.
11 years ago