Commit graph

705 commits

Author SHA1 Message Date
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
Armin Ronacher
afd3c4532b Rewrapped lines 2013-11-09 13:41:09 +00:00
Reetta Vaahtoranta
0d648fa468 Changed the wording of some sentences there were difficult to understand. 2013-11-09 13:13:14 +00:00
Pengfei Xue
ecb31c6804 fix typo 2013-10-30 16:45:44 +08:00
Daniel Neuhäuser
5689ef3639 Fix typo s/at at/at a/ 2013-10-22 14:01:33 +02:00
Daniel Neuhäuser
4212e67d29 Merge pull request #890 from seancron/documentation-fix
Documentation fix: Makes the error names consistent
2013-10-16 10:08:49 -07:00
Sean Cronin
a7f5d60789 Makes the error names consistent 2013-10-15 12:37:25 -04:00
talam
b7f21831fa Updated some typos
Fixed some incorrect variable references.
2013-10-12 18:14:26 -04:00
Jet Sun
6ebe45b0ad Fix typo. 2013-09-07 17:42:06 -07:00
Sean Vieira
12d6ec4130 Fix with block 2013-09-03 23:36:10 -04:00
Daniel Neuhäuser
5207c69064 Fix #856 ommited typo in quickstart 2013-09-03 19:47:00 +02:00
Armin Ronacher
51d7c8de7d Merge branch 'master' of github.com:mitsuhiko/flask 2013-09-01 01:43:24 +06:00
Armin Ronacher
05161d3584 Rewrote tutorial to use the g based appcontext object 2013-09-01 01:32:41 +06:00
Adam Obeng
9cff681f97 Fix typo 2013-08-24 21:21:18 -04:00
Jochen Kupperschmidt
8246ce6a15 Fixed tiny but distracting typo. 2013-08-11 15:59:46 +02:00
Bill Mill
159ae3dc26 Fix doc bug, clarify use of make_dicts 2013-07-31 22:06:15 -04:00
Armin Ronacher
559ae196e7 Merge branch 'master' of github.com:mitsuhiko/flask 2013-07-30 16:45:23 +02:00
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.
2013-07-30 16:43:54 +02:00
Armin Ronacher
1982c208ce Merge pull request #808 from untitaker/issue782
Fix #782 -- /tmp/ in tutorial
2013-07-26 16:28:08 -07:00
Markus Unterwaditzer
fd9bf8f376 Fix #782 -- /tmp/ in tutorial 2013-07-27 01:21:01 +02:00
Armin Ronacher
afa33e37ec Merge pull request #800 from nZac/issue#783
cleared up confusion for from_envvar in docs
2013-07-26 14:47:11 -07:00
Armin Ronacher
c541f7e3ee Fixed a typo 2013-07-26 23:44:40 +02:00
Eric Radman
73b4a52ca5 Update example for Apache FCGI config to use worker processes using FastCgiServer, along with some notes about FastCgiExternalServer 2013-07-26 15:07:40 -04:00
Armin Ronacher
6a621440ef Merge branch 'master' of github.com:mitsuhiko/flask 2013-07-24 21:48:47 +02:00
Armin Ronacher
e59e00576d Fixed a documentation typo 2013-07-24 21:48:28 +02:00
Nick Zaccardi
5ace060e5e cleared up confusion for from_envvar 2013-07-22 09:03:57 -05:00
Chris Rebert
f632ba25e0 api.rst: fix some spelling/typos 2013-07-22 02:12:17 -07:00
Daniel Neuhäuser
c8961c6dc9 Merge pull request #786 from mgaitan/patch-1
Missing `s` in a plural word
2013-07-01 06:44:03 -07:00
Martín Gaitán
4028e2395c plural 2013-06-30 13:17:39 -03:00
BobStevens
9fe209b497 fixed typo 2013-06-27 16:32:20 -04:00
BobStevens
e2fdf28e97 word change for clarity
changed "200 error code" to "200 status code"
2013-06-27 16:31:04 -04:00
Igor Mozharovsky
a225a304b8 Fix typo 2013-06-23 03:36:20 +03:00
Stefano Costa
582a5c7b89 Correct small typo in internal link 2013-06-14 16:35:46 +03:00
Armin Ronacher
ec5291e46d Fixed invalid reference 2013-06-13 09:37:09 +01: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
fc2225b463 Fixed a broken link in the docs 2013-06-09 12:47:01 +01:00
Armin Ronacher
f9846b9055 Added requirements for Python 3 2013-06-09 12:46:01 +01:00
Armin Ronacher
0ac9582113 Added notes on Python 3 2013-06-09 12:42:24 +01:00
Armin Ronacher
2c9c269284 Fixed a broken reference 2013-06-09 12:32:12 +01:00
Armin Ronacher
29bda590b2 Modernized docs in a few places 2013-06-09 12:30:27 +01:00
Armin Ronacher
e2d4aa1207 Added a missing note to the docs 2013-06-09 12:23:14 +01:00
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.
2013-06-09 12:06:33 +01:00
Armin Ronacher
681cb8f366 Switch to teardown_appcontext for docs in sqlalchemy pattern 2013-06-07 15:42:49 +01:00
Armin Ronacher
93073489a0 Documented changes on the g object some more 2013-06-05 10:02:33 +01:00
Armin Ronacher
1f6be7ff63 Added example on faking resources and context 2013-06-05 09:58:28 +01:00
Armin Ronacher
0676bb8ab5 Added appcontext_pushed and appcontext_popped signals 2013-06-05 09:53:26 +01:00
Armin Ronacher
ef72b78042 Imply the |safe on tojson in templates and change escaping logic 2013-06-03 12:25:08 +01:00
Armin Ronacher
77d293cf49 Order JSON keys by default to avoid trashing HTTP caches 2013-06-01 19:24:03 +01:00
Armin Ronacher
3d9055b3b7 Added the JSONIFY_PRETTYPRINT_REGULAR config variable. This fixes #725 2013-06-01 00:20:00 +01:00