Commit graph

173 commits

Author SHA1 Message Date
Andrew Plummer
db1be12aea Fix import in viewdecorators.rst for @templated 2014-03-26 16:40:25 +00:00
Kenneth Reitz
7e4d51c91c Merge pull request #869 from christophersu/doc-fix-1
Add missing import on SQLAlchemy documentation page
2014-03-21 16:46:05 -04:00
Armin Ronacher
82f99f42a8 Disarmed a sentence a bit 2014-02-09 13:35:38 +00:00
Armin Ronacher
47a41b645f Merge pull request #884 from rsyring/patch-2
Update appfactories.rst, make extension related section clearer
2014-02-09 13:27:35 +00:00
Armin Ronacher
6f44ca705f Fixed sqlite3 pattern. This fixes #924 2014-02-08 22:14:23 +00:00
Armin Ronacher
e95cef66a3 Merge pull request #931 from aphexcx/patch-1
Update celery.rst
2014-02-08 17:47:22 +00:00
Armin Ronacher
1f638d63ff Merge pull request #948 from Spittie/patch-1
Update fileuploads.rst
2014-02-08 17:34:30 +00:00
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.
2014-02-05 20:11:06 +00:00
Spittie
de3dbd3125 Update fileuploads.rst
secure_filename is under werkzeug.utils (http://werkzeug.pocoo.org/docs/utils/)
2014-01-12 02:54:08 +01:00
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.
2013-12-16 22:04:51 -08:00
Christopher Su
9cecf0d81c moved Table import to next code block 2013-10-22 11:37:35 -07:00
Sean Cronin
a7f5d60789 Makes the error names consistent 2013-10-15 12:37:25 -04:00
rsyring
fc85bf42ae Update appfactories.rst, make extension related section clearer 2013-10-11 08:39:46 -04:00
Christopher Su
8089eb5769 added missing import in sqlalchemy doc 2013-09-19 23:31:09 -07:00
Jet Sun
6ebe45b0ad Fix typo. 2013-09-07 17:42:06 -07:00
Bill Mill
159ae3dc26 Fix doc bug, clarify use of make_dicts 2013-07-31 22:06:15 -04:00
Armin Ronacher
335cbe01ce Fixed a typo 2013-06-11 20:18:26 +01:00
Armin Ronacher
f9f8180f15 Added documentation on API error handlers 2013-06-09 17:26:10 +01:00
Armin Ronacher
29bda590b2 Modernized docs in a few places 2013-06-09 12:30:27 +01:00
Armin Ronacher
681cb8f366 Switch to teardown_appcontext for docs in sqlalchemy pattern 2013-06-07 15:42:49 +01:00
Armin Ronacher
ef72b78042 Imply the |safe on tojson in templates and change escaping logic 2013-06-03 12:25:08 +01:00
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
2013-05-25 19:13:48 +02:00
Thomas Waldmann
40fad2ece8 document python 2.6 minimum requirement, remove all stuff that refers to 2.5 2013-05-18 17:06:25 +02:00
Armin Ronacher
ef62e8440e Merge pull request #702 from edburnett/master
AJAX with jQuery documentation update
2013-05-14 03:25:49 -07:00
Jason Moon
d1bf82b0f4 Fixed typo in URL Processor documentation 2013-04-14 00:10:38 -07:00
Ed Burnett
0a5d62f9ee Updated jquery.rst with the current Google Developer hosted libraries URL and jquery version 2013-03-26 16:56:05 -07:00
Markus Unterwaditzer
9d8674d5b6 Added more information about app factories. 2013-03-17 21:42:30 +01:00
Alex Couper
a92588f161 Add closing html tag 2013-02-22 11:15:40 +00:00
Armin Ronacher
05f162329d Added celery pattern 2013-01-27 00:38:25 +00:00
Kenneth Reitz
3fdcefbcda Merge pull request #625 from soulseekah/master
Use sqlite3.Row factory in Flaskr (#588)
2013-01-24 20:22:02 -08:00
Trung Ly
b4fc4412e8 Update docs/patterns/deferredcallbacks.rst
fix example code in Deferred Callback docs: don't set response upon executing callback
2013-01-14 14:53:06 -08:00
Erik Rose
a319516518 Fix a typo in the deferred-callbacks docs. 2012-12-11 14:11:27 -08:00
Max Countryman
caefb67ccd correcting typo 2012-11-05 15:31:07 -08:00
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().
2012-11-05 06:00:46 +06:00
Armin Ronacher
c2e5799879 Updated examples to new sqlite patterns and added new section to appcontext docs 2012-10-09 14:02:32 -05:00
Armin Ronacher
b5bb49d080 Added a new example for checksums on input data. This fixes #601 2012-10-07 15:46:21 +02:00
Armin Ronacher
18413ed1bf Added HTTP override middleware to docs. This fixes #582 2012-10-07 13:02:05 +02:00
pinchsp
69e419e020 Fixed small mistake in sqlalchemy pattern 2012-09-04 00:51:45 -03:00
Armin Ronacher
d5218997d9 Added flask.stream_with_context 2012-06-27 15:06:39 +01:00
Armin Ronacher
9be47f5932 Merge pull request #479 from dmishe/patch-1
Removed unneeded print statements form mongokit pattern doc
2012-06-17 06:25:10 -07:00
Ron DuPlain
a3cb2a3382 Use American English for "behavior" in docs.
Prompted by plaes on #pocoo, mitsuhiko confirmed to use American English.
2012-04-19 11:51:38 -04:00
Ron DuPlain
b885edf810 Fix typo pointed out by tri on #pocoo. 2012-04-18 15:54:04 -04:00
Dmitry Shevchenko
9c48387072 Removed unneeded print statements form mongokit pattern doc 2012-04-08 18:09:12 -05:00
Ron DuPlain
df772df24f Touch up run_simple doc, #446. 2012-04-01 11:40:37 -04:00
Ron DuPlain
8740fff907 Merge pull request #446 from jtsoi/patch-1
Debug example with run_simple and flask app.
2012-04-01 08:37:44 -07:00
Kenneth Reitz
079c5ef7ff Merge pull request #445 from iammookli/patch-1
Update docs/patterns/mongokit.rst
2012-03-20 19:01:28 -07:00
Filip Ristić
c2661dd4bc Update docs/patterns/packages.rst 2012-03-20 22:07:58 +01:00
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. 2012-03-16 09:38:40 +01:00
iammookli
73cb15ed2c Update docs/patterns/mongokit.rst 2012-03-15 18:20:17 -07:00
awsum
20a3281209 Update docs/patterns/wtforms.rst 2012-02-25 15:29:13 -05:00