Armin Ronacher
9074bc46af
Switch away from /tmp for windows users
11 years ago
Armin Ronacher
f5a02b9495
Added a warning about key sorting
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
Nicholas Zaccardi
ea656a8909
added a note to the api documentation about JSON_SORT_KEYS. Fixes #922
11 years ago
Ifiok Jr.
cb61696b47
Update appcontext.rst
...
small edit
11 years ago
Spittie
de3dbd3125
Update fileuploads.rst
...
secure_filename is under werkzeug.utils (http://werkzeug.pocoo.org/docs/utils/ )
11 years ago
skeuomorf
cf0953619e
Added a favicon for the docs
11 years ago
bool-dev
85aa4ec8c1
Updated greenlet links, which were dead.
11 years ago
Mikael Åhlén
70f8b39c52
added a new behaviour for responses that enable the tuple to be in the form of (response, headers) and continiue to support the (response, status, headers) format.
11 years ago
Mark Hildreth
6a37c1716d
Fixed incorrect grammar in Config.rst
...
Fixed incorrect grammar in "SESSION_REFRESH_EACH_REQUEST" configuration description.
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
Armin Ronacher
afd3c4532b
Rewrapped lines
11 years ago
Reetta Vaahtoranta
0d648fa468
Changed the wording of some sentences there were difficult to understand.
11 years ago
Pengfei Xue
ecb31c6804
fix typo
11 years ago
Daniel Neuhäuser
5689ef3639
Fix typo s/at at/at a/
11 years ago
Sean Cronin
a7f5d60789
Makes the error names consistent
11 years ago
talam
b7f21831fa
Updated some typos
...
Fixed some incorrect variable references.
11 years ago
Jet Sun
6ebe45b0ad
Fix typo.
11 years ago
Sean Vieira
12d6ec4130
Fix with block
11 years ago
Daniel Neuhäuser
5207c69064
Fix #856 ommited typo in quickstart
11 years ago
Armin Ronacher
05161d3584
Rewrote tutorial to use the g based appcontext object
11 years ago
Adam Obeng
9cff681f97
Fix typo
11 years ago
Jochen Kupperschmidt
8246ce6a15
Fixed tiny but distracting typo.
11 years ago
Bill Mill
159ae3dc26
Fix doc bug, clarify use of make_dicts
11 years ago
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 .
11 years ago
Markus Unterwaditzer
fd9bf8f376
Fix #782 -- /tmp/ in tutorial
11 years ago
Armin Ronacher
c541f7e3ee
Fixed a typo
11 years ago
Eric Radman
73b4a52ca5
Update example for Apache FCGI config to use worker processes using FastCgiServer, along with some notes about FastCgiExternalServer
11 years ago
Armin Ronacher
e59e00576d
Fixed a documentation typo
11 years ago
Nick Zaccardi
5ace060e5e
cleared up confusion for from_envvar
11 years ago
Chris Rebert
f632ba25e0
api.rst: fix some spelling/typos
11 years ago
Martín Gaitán
4028e2395c
plural
12 years ago
BobStevens
9fe209b497
fixed typo
12 years ago
BobStevens
e2fdf28e97
word change for clarity
...
changed "200 error code" to "200 status code"
12 years ago
Igor Mozharovsky
a225a304b8
Fix typo
12 years ago
Stefano Costa
582a5c7b89
Correct small typo in internal link
12 years ago
Armin Ronacher
ec5291e46d
Fixed invalid reference
12 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
fc2225b463
Fixed a broken link in the docs
12 years ago
Armin Ronacher
f9846b9055
Added requirements for Python 3
12 years ago
Armin Ronacher
0ac9582113
Added notes on Python 3
12 years ago
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