Armin Ronacher
61d43c7f12
Removed unnecessary end-tags and fixed some broken html
12 years ago
INADA Naoki
be0b5196bf
Update docs/extensiondev.rst
...
Use `current_app` instead of `self.app`.
12 years ago
Kenneth Reitz
823bebf13a
Merge pull request #636 from ghost/patch-1
...
Ended your paragraph tag.
12 years ago
Kenneth Reitz
813149677d
Merge pull request #647 from untitaker/print_in_cgi
...
Added hint about print statements in CGI.
12 years ago
Erik Rose
a319516518
Fix a typo in the deferred-callbacks docs.
12 years ago
Markus Unterwaditzer
160aa80781
Added hint about print statements in CGI.
...
Fix #646
12 years ago
Iyra Gaura
be1ed33271
Ended your paragraph tag.
12 years ago
Kenneth Reitz
fedc96c0b9
Merge pull request #609 from MostAwesomeDude/master
...
docs/deploying/wsgi-standalone: Add Twisted Web.
12 years ago
Kenneth Reitz
2fabc65505
Merge pull request #624 from soulseekah/patch-1
...
missing ' in templating example
12 years ago
Kenneth Reitz
4515b838ea
Merge pull request #634 from maxcountryman/master
...
correcting typo
12 years ago
Max Countryman
b6dac3812f
really fixing it this time
12 years ago
Max Countryman
30a51f2573
correcting typo
12 years ago
Kenneth Reitz
692a5c2588
Merge pull request #626 from maxcountryman/patch-1
...
correcting typo
12 years ago
Max Countryman
caefb67ccd
correcting typo
12 years ago
Gennady Kovshenin
82b29c09ac
Use sqlite3.Row factory in Flaskr
...
As pointed out in issue #588 sqlite3.Row should be used instead of
using casting to dict(). Also altered the "Easy Querying" Patterns
example to include the more correct way to return rows as dicts.
Did not touch Tutorial examples ("Views"), as these are not up to
date with the current Flaskr code, and the "Show Entries" section
points out the "Easy Querying" section on how to convert to a
dict().
12 years ago
soulseekah
3c54f30c2b
missing ' in example
...
Results in SyntaxError: EOL while scanning string literal
12 years ago
Armin Ronacher
2b885ce4dc
Added better error reporting for unicode errors in sessions
12 years ago
Quentin Roy
1e39871d68
Add back path=None argument into find_module. This fixes #618 and revert #524 .
12 years ago
Tony Narlock
af76dd0fd4
Highlight first field on page load, enter sends submit request, double quote to single quote. Submission focuses first field again
12 years ago
Armin Ronacher
8339cb3508
Added support for unicode json dumping. This fixes #535
12 years ago
Armin Ronacher
5583fe8acf
Merge pull request #613 from untitaker/issue611
...
Fix #611
12 years ago
Armin Ronacher
f06c80a215
Merge pull request #614 from mizhi/master
...
Minor fix to views.py testsuite.
12 years ago
Mitchell Peabody
275f830c83
There was a duplicated call to url_adapter.build(...)
...
try:
rv = url_adapter.build(endpoint, values, method=method,
force_external=external)
except BuildError, error:
# We need to inject the values again so that the app callback can
# deal with that sort of stuff.
values['_external'] = external
values['_anchor'] = anchor
values['_method'] = method
return appctx.app.handle_url_build_error(error, endpoint, values)
rv = url_adapter.build(endpoint, values, method=method,
force_external=external)
If no exception was raised for url_adapter.build(...) then the same method call
would be made after the try...except block. This is unnecessary.
12 years ago
Mitchell Peabody
a15c6c569a
The builder on github is using python 2.5, the views.py testsuite uses the with
...
statement, and thus flask/testsuite/views.py requires
from __future__ import with_statement
at the beginning.
12 years ago
Markus Unterwaditzer
7ee40e9348
Fix #611
...
Minor but confusing typo in tutorial.
12 years ago
Corbin Simpson
f6a5a7a0cc
docs/deploying/wsgi-standalone: Add Twisted Web.
...
I've been meaning to do this for quite some time, but I never got around to
it. Hopefully this is neutral and useful enough to be included in the main
docs.
12 years ago
Armin Ronacher
c2e5799879
Updated examples to new sqlite patterns and added new section to appcontext docs
12 years ago
Armin Ronacher
3e9f4e254b
Updated a comment that was misleading with recent flask sqlalchemy installations
12 years ago
Armin Ronacher
f34c028125
Added template tests and made config a true global
12 years ago
Armin Ronacher
5e88c8184d
Removed deprecated and awkward flask.session module
12 years ago
Armin Ronacher
05c6502cbd
Let json.* work even without app on the stack and added tests
12 years ago
Armin Ronacher
b146d8277a
Added wrapper module around simplejson/json for much simplified customization.
12 years ago
Armin Ronacher
301e244df3
Consistent use of encoding naming
12 years ago
Armin Ronacher
3afcbf160e
Extra safety for safe_join. Does not look exploitable but better safe than sorry. Fixes #501
12 years ago
Armin Ronacher
f701f69947
Documented new error case
12 years ago
Armin Ronacher
661ee54bc2
Raise exceptions if a function is overridden by a new endpoint. This fixes #570
12 years ago
Armin Ronacher
e2b3f07d7c
Stop the joinspam
12 years ago
Armin Ronacher
6e4015d624
Removed tox file
12 years ago
Armin Ronacher
b6f37c40f8
Updated travis config for notifications
12 years ago
Armin Ronacher
f8b6033a3b
Added a workaround for samefile. This fixes #600
12 years ago
Armin Ronacher
3c1d7758d5
Removed dev tag from setup.cfg. Fixes #596
12 years ago
Armin Ronacher
b5bb49d080
Added a new example for checksums on input data. This fixes #601
12 years ago
Armin Ronacher
c4f2075f4c
tojson no longer escapes script blocks in HTML5 parsers. Fixed #605
12 years ago
Armin Ronacher
01ac057d36
Merge branch 'master' of github.com:mitsuhiko/flask
12 years ago
Armin Ronacher
3bec75d230
Set the content-length header for sendfile. Fixes #447
12 years ago
Armin Ronacher
c01d36aabd
Merge pull request #548 from SimonSapin/patch-6
...
Remove the unused `ScriptNameStripper.to_strip` in the FastCGI doc example
12 years ago
Armin Ronacher
aecb760c6a
Merge pull request #550 from AkaiKitsune/master
...
Added Windows documentation for mod_wsgi usage
12 years ago
Armin Ronacher
de5038f2fb
Added total_seconds() helper for pythons before 2.7
12 years ago
Armin Ronacher
7f87091474
Added a missing exposed import. This fixes #575
12 years ago
Armin Ronacher
5b462dd382
Fixed a typo in the docs. This fixes #576 and #575
12 years ago