Armin Ronacher
2c9c269284
Fixed a broken reference
12 years ago
Armin Ronacher
29bda590b2
Modernized docs in a few places
12 years ago
Armin Ronacher
e2d4aa1207
Added a missing note to the docs
12 years ago
Armin Ronacher
c889fbc231
Changed interface for `flask.g`
...
This now makes it behave like it did before, it's just an object.
It did however gain ``__contains__`` and ``__iter__`` and I added
a ``get()`` method to fetch an attribute without raising an
error. This fixes #759 .
12 years ago
Armin Ronacher
681cb8f366
Switch to teardown_appcontext for docs in sqlalchemy pattern
12 years ago
Armin Ronacher
93073489a0
Documented changes on the g object some more
12 years ago
Armin Ronacher
1f6be7ff63
Added example on faking resources and context
12 years ago
Armin Ronacher
0676bb8ab5
Added appcontext_pushed and appcontext_popped signals
12 years ago
Armin Ronacher
ef72b78042
Imply the |safe on tojson in templates and change escaping logic
12 years ago
Armin Ronacher
77d293cf49
Order JSON keys by default to avoid trashing HTTP caches
12 years ago
Armin Ronacher
3d9055b3b7
Added the JSONIFY_PRETTYPRINT_REGULAR config variable. This fixes #725
12 years ago
Thomas Waldmann
8bb972e5ae
fix minitwit/flaskr test errors, improve docs about file open mode
...
app.open_resource needs to get called with the correct mode param (python3
will read bytes [not str] if the wrong mode is used), add mode param docs.
rv.data is bytes, fix the data type we compare it with to be also bytes
12 years ago
Thomas Waldmann
40fad2ece8
document python 2.6 minimum requirement, remove all stuff that refers to 2.5
12 years ago
Armin Ronacher
18673ba370
Added uuid support for new session serialization and documented it
12 years ago
Armin Ronacher
833198c91b
Added a missing comma
12 years ago
Armin Ronacher
097353695e
Added flask.copy_current_request_context which simplies working with greenlets
12 years ago
Akshar Raaj
a9b22af9bc
Fixed documentation in 'Design Decisions in Flask'
12 years ago
Jason Moon
d1bf82b0f4
Fixed typo in URL Processor documentation
12 years ago
Armin Ronacher
0faed95385
Documented new signal message_flashed
12 years ago
Ed Burnett
0a5d62f9ee
Updated jquery.rst with the current Google Developer hosted libraries URL and jquery version
12 years ago
=
1723990aee
Fixed a few typos on quickstart
12 years ago
Armin Ronacher
4366bb392a
Documented new signal message_flashed
12 years ago
Markus Unterwaditzer
9d8674d5b6
Added more information about app factories.
12 years ago
Michael N. Gagnon
8a6cba9e63
fix typo in quickstart guide
12 years ago
OrangeTux
cc5d6134c7
Update css.rst
...
Improved consistency: lower cased all hexadecimal descriptions of colors.
12 years ago
Alex Couper
1be13297c1
Remove comma.
12 years ago
Alex Couper
8ee01ad5ed
Put the link to Flask class docs at the end.
12 years ago
Alex Couper
cc8a85d753
Move docs explaining instantiating Flask
12 years ago
Alex Couper
a92588f161
Add closing html tag
12 years ago
Devon Mizelle
c999c179a2
fixes #677 - mistype in docs/quickstart
12 years ago
lambdadi
a754d28302
Database improperly closed in example code
...
os.unlink(flaskr.DATABASE) causes the actual application database to be
purged; whereas, I reckon, one wants the _test_ database to be removed.
So every time I ran it, the test passed, but ended up crashing the live
app for want of a valid database.
I avoided using the sample code in examples/flaskr thus far, as I chose
to type out code from the turorial docs. The actual example code looks
good - at least to my beginner's eye.
12 years ago
Armin Ronacher
05f162329d
Added celery pattern
12 years ago
Trung Ly
b4fc4412e8
Update docs/patterns/deferredcallbacks.rst
...
fix example code in Deferred Callback docs: don't set response upon executing callback
12 years ago
Baiju Muthukadan
7a3d74f19f
WSGI specification has finalized for Python 3
...
Mention Python 3.x is not supported
12 years ago
Kenneth Reitz
ff2e8449ff
2013
12 years ago
oliversong
cc82feb084
Changing string to text in schema files
12 years ago
Armin Ronacher
1949c4a9ab
flask.g is now on the app context and not the request context
12 years ago
Markus Unterwaditzer
c549e583c4
Fixing my own pull request #647
...
Wrote "stdin" instead of "stdout".
12 years ago
INADA Naoki
be0b5196bf
Update docs/extensiondev.rst
...
Use `current_app` instead of `self.app`.
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
Max Countryman
b6dac3812f
really fixing it this time
12 years ago
Max Countryman
30a51f2573
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
8339cb3508
Added support for unicode json dumping. This fixes #535
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