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
Armin Ronacher
51d7c8de7d
Merge branch 'master' of github.com:mitsuhiko/flask
11 years ago
Armin Ronacher
05161d3584
Rewrote tutorial to use the g based appcontext object
11 years ago
Armin Ronacher
42cf782ee3
Removed g object from example as it was unused
11 years ago
Daniel Neuhäuser
29f3a1ac23
Merge pull request #844 from adamobeng/patch-1
...
Fix typo
11 years ago
Adam Obeng
9cff681f97
Fix typo
11 years ago
Will Bowlin
3e90de2e10
corrected documentation for Request get_json()
11 years ago
Daniel Neuhäuser
be73233a55
Merge pull request #840 from mhils/master
...
Fix typo in docstring
11 years ago
Maximilian Hils
17e5fb365d
Fix typo in docstring
11 years ago
enkore
f5d38dc4fc
Update sessions.py
...
get_cookie_path: fix docstring
11 years ago
Daniel Neuhäuser
2d8a21c732
Merge branch '0.10-maintenance'
11 years ago
Daniel Neuhäuser
94f4360137
Explain is_package AttributeError in find_package
...
When a PEP 302 import hook is used that doesn't implement .is_package()
an AttributeError is raised. This looks like a bug in Flask. This change
fixes that problem in the sense that it explains, that the
AttributeError is intentional.
11 years ago
Daniel Neuhäuser
f3c5bff990
Merge pull request #831 from homeworkprod/json-docs-typo-fix
...
Fixed tiny but distracting typo.
11 years ago
Jochen Kupperschmidt
8246ce6a15
Fixed tiny but distracting typo.
11 years ago
Jamie Grove
63a126c66a
Update blueprints.rst - Error Handlers
...
Added information about custom error handlers in Blueprints with example based simple_page.
11 years ago
Matt Wright
b290bf4079
Add ability to config from a JSON file
11 years ago
Armin Ronacher
1b08d527c7
Merge branch 'master' of github.com:mitsuhiko/flask
11 years ago
Kevin Burke
9e5ab21c8e
app.py: Link to correct EnvironBuilder docs
11 years ago
Armin Ronacher
a2bc61b5ab
Merge pull request #819 from chason/master
...
Changed sort_json test to test str sorting
11 years ago
Chason Chaffin
5e8dd8b287
Changed sort_json test to test str sorting
...
Tests when simplejson was installed were failing because of a change in
how it sorted in v3.0.0. This change first tests it via normal int
sorting for stdlib json then if that fails, it tests against str sorting
for simplejson.
11 years ago
Armin Ronacher
08931401e8
Merge pull request #817 from llimllib/master
...
Fix doc bug in patterns/sqlite3, clarify use of make_dicts
11 years ago
Bill Mill
159ae3dc26
Fix doc bug, clarify use of make_dicts
11 years ago
Armin Ronacher
2e17ad7fd4
Merge pull request #816 from untitaker/allowed_methods
...
Fix #815
11 years ago
Markus Unterwaditzer
af5a0853bf
Fix #815
11 years ago
Armin Ronacher
3e4dbf93d9
Fixed a test that broke on 3.x
11 years ago
Armin Ronacher
559ae196e7
Merge branch 'master' of github.com:mitsuhiko/flask
11 years ago
Armin Ronacher
d1d835c023
Added SESSION_REFRESH_EACH_REQUEST config option.
...
This also changes how sessions are being refreshed. With the new
behavior set-cookie is only emitted if the session is modified or if the
session is permanent. Permanent sessions can be set to not refresh
automatically through the SESSION_REFRESH_EACH_REQUEST config key.
This fixes #798 .
11 years ago
Armin Ronacher
1a66a7e110
Added line for 1.0
11 years ago
Armin Ronacher
da49f7398d
Merge pull request #811 from rpicard/remove_options_workaround
...
Remove Werkzeug bug workaround from flask/app.py
11 years ago
Robert Picard
b6116c1de3
Remove Werkzeug bug workaround from flask/app.py
...
According to the note in the comment, you had to check to make sure that the
defaults were not an empty dictionary because of a bug in Werkzeug pre-0.7.
Since Flask officially requires 0.7 or greater, we can remove this little
workaround.
11 years ago
Armin Ronacher
1982c208ce
Merge pull request #808 from untitaker/issue782
...
Fix #782 -- /tmp/ in tutorial
11 years ago
Markus Unterwaditzer
fd9bf8f376
Fix #782 -- /tmp/ in tutorial
11 years ago
Armin Ronacher
afa33e37ec
Merge pull request #800 from nZac/issue#783
...
cleared up confusion for from_envvar in docs
11 years ago
Armin Ronacher
c541f7e3ee
Fixed a typo
11 years ago
Eric Radman
73b4a52ca5
Update example for Apache FCGI config to use worker processes using FastCgiServer, along with some notes about FastCgiExternalServer
11 years ago
Armin Ronacher
6a621440ef
Merge branch 'master' of github.com:mitsuhiko/flask
11 years ago
Armin Ronacher
e59e00576d
Fixed a documentation typo
11 years ago
Nick Zaccardi
5ace060e5e
cleared up confusion for from_envvar
11 years ago
Daniel Neuhäuser
ab1be65c88
Merge pull request #799 from cvrebert/patch-1
...
api.rst: fix some spelling/typos
11 years ago