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
Daniel Neuhäuser
5d20501604
Merge pull request #863 from jet-sun/patch-1
...
Fix typo.
11 years ago
Jet Sun
6ebe45b0ad
Fix typo.
11 years ago
Michael Bikovitsky
b7337080e4
Fix test_send_file_object
...
static/index.html now opens in binary mode, and therefore newline conversion does not take place.
11 years ago
Michael Bikovitsky
cff35237ef
Fix test_no_error_swallowing
...
Path in assertion is now cross-platform.
11 years ago
Wouter Van Hemel
079ae20f24
Add tests for user-defined exceptions in blueprints
11 years ago
Daniel Neuhäuser
ff59db16bc
Merge pull request #858 from svieira/patch-2
...
Patch for tutorial (minor code error)
11 years ago
Wouter Van Hemel
b03181363b
Add a non-decorator version of the error handler register function
...
The main application object has a register_error_handler function
which mirrors the decorator's functionality. According to the principle
of least surprise, make sure blueprints also have this convenience function.
11 years ago
Sean Vieira
12d6ec4130
Fix with block
11 years ago
Daniel Neuhäuser
36d70d8789
Merge pull request #843 from wbowlin/master
...
corrected documentation for Request get_json()
11 years ago
Daniel Neuhäuser
5207c69064
Fix #856 ommited typo in quickstart
11 years ago
Armin Ronacher
8f1dada542
Some cleanups
11 years ago