Armin Ronacher
8a46eec4f8
Fixed a reference in the docs.
11 years ago
Andrew Plummer
b2b531a36b
Tweak wording in viewdecorators.rst
11 years ago
Andrew Plummer
db1be12aea
Fix import in viewdecorators.rst for @templated
11 years ago
Armin Ronacher
82f99f42a8
Disarmed a sentence a bit
11 years ago
Armin Ronacher
6f44ca705f
Fixed sqlite3 pattern. This fixes #924
11 years ago
Alex Pearce
3d6de4dd79
Explicitly pass the Celery instance name.
...
When starting a Celery worker module, it is assumed that the Celery instance within the module is called `app`. This is not the case in the Celery pattern, where it is called `celery`, and so must be explicitly referenced.
11 years ago
Spittie
de3dbd3125
Update fileuploads.rst
...
secure_filename is under werkzeug.utils (http://werkzeug.pocoo.org/docs/utils/ )
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
Christopher Su
9cecf0d81c
moved Table import to next code block
11 years ago
Sean Cronin
a7f5d60789
Makes the error names consistent
11 years ago
rsyring
fc85bf42ae
Update appfactories.rst, make extension related section clearer
11 years ago
Christopher Su
8089eb5769
added missing import in sqlalchemy doc
11 years ago
Jet Sun
6ebe45b0ad
Fix typo.
11 years ago
Bill Mill
159ae3dc26
Fix doc bug, clarify use of make_dicts
11 years ago
Armin Ronacher
335cbe01ce
Fixed a typo
12 years ago
Armin Ronacher
f9f8180f15
Added documentation on API error handlers
12 years ago
Armin Ronacher
29bda590b2
Modernized docs in a few places
12 years ago
Armin Ronacher
681cb8f366
Switch to teardown_appcontext for docs in sqlalchemy pattern
12 years ago
Armin Ronacher
ef72b78042
Imply the |safe on tojson in templates and change escaping logic
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
Jason Moon
d1bf82b0f4
Fixed typo in URL Processor documentation
12 years ago
Ed Burnett
0a5d62f9ee
Updated jquery.rst with the current Google Developer hosted libraries URL and jquery version
12 years ago
Markus Unterwaditzer
9d8674d5b6
Added more information about app factories.
12 years ago
Alex Couper
a92588f161
Add closing html tag
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
Erik Rose
a319516518
Fix a typo in the deferred-callbacks docs.
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
Armin Ronacher
c2e5799879
Updated examples to new sqlite patterns and added new section to appcontext docs
12 years ago
Armin Ronacher
b5bb49d080
Added a new example for checksums on input data. This fixes #601
12 years ago
Armin Ronacher
18413ed1bf
Added HTTP override middleware to docs. This fixes #582
12 years ago
pinchsp
69e419e020
Fixed small mistake in sqlalchemy pattern
12 years ago
Armin Ronacher
d5218997d9
Added flask.stream_with_context
13 years ago
Ron DuPlain
a3cb2a3382
Use American English for "behavior" in docs.
...
Prompted by plaes on #pocoo, mitsuhiko confirmed to use American English.
13 years ago
Ron DuPlain
b885edf810
Fix typo pointed out by tri on #pocoo.
13 years ago
Dmitry Shevchenko
9c48387072
Removed unneeded print statements form mongokit pattern doc
13 years ago
Ron DuPlain
df772df24f
Touch up run_simple doc, #446 .
13 years ago
Filip Ristić
c2661dd4bc
Update docs/patterns/packages.rst
13 years ago
jtsoi
fe9f5a4768
Added an example of how to configure debugging with run_simple, it has to be enabled both for the Flask app and the Werkzeug server.
13 years ago
iammookli
73cb15ed2c
Update docs/patterns/mongokit.rst
13 years ago
awsum
20a3281209
Update docs/patterns/wtforms.rst
13 years ago
Ron DuPlain
5cb50a46ee
Fix Message Flashing doc, from SwashBuckla #pocoo.
...
Provide a full example as promised in the doc.
13 years ago
FND
76c1a1f722
fixed spelling of "instantiate"
...
while the interwebs suggest "instanciate" might be a valid spelling, it
seems quite uncommon and potentially irritating (to pedants like myself)
13 years ago
Ron DuPlain
c93ea5551c
Keep flashed message examples in one place.
13 years ago
Steven Osborn
fa069f94de
Allow category filtering in get_flashed_messages to allow rending categories in separate html blocks
13 years ago
awsum
d50a0b4955
typo fix
13 years ago
kracekumar
b115b38dbe
Added PasswordField in docs/patterns/wtforms.rst
13 years ago
Armin Ronacher
54875e9317
Direct passthrough is counter productive
13 years ago