Zev Averbach
8775edc88f
fixed some punctuation, fixed a few errors, in service of readability
2015-06-26 08:41:56 -04:00
ThiefMaster
394acf2112
Add pop and setdefault to AppCtxGlobals
2015-06-20 18:04:58 +02:00
Alexander Pantyukhin
069f134d7e
Changes and docs are modified.
2015-06-17 15:45:37 +02:00
Markus Unterwaditzer
f097924cfe
Deduplicate signals docs
...
Triggered by #1390
2015-06-10 18:42:55 +02:00
Vincent Driessen
d80dd731d2
Remove the word trivially here
...
A lot of things are trivial, or debatably trivial, but this is not one of them :)
2015-06-10 10:58:49 +02:00
Markus Unterwaditzer
0f1970f55d
Point to stable version of Celery
2015-06-08 15:18:34 +02:00
Markus Unterwaditzer
89de9cb967
Fix #1195
2015-06-06 06:25:41 +02:00
Jeff Widman
bb5a3ffebe
Some grammar and typo fixes
2015-06-06 04:44:41 +02:00
Daniel Neuhäuser
df7c963e96
Fix wording
2015-06-06 04:44:41 +02:00
Daniel Neuhäuser
0823e1f443
Don't allow namespace packages anymore
2015-06-06 04:44:41 +02:00
Daniel Neuhäuser
8c127f64ae
Require Python 3.3 and higher for extensions
...
Flask and several extensions already supports Python 3.3 and higher. By
requiring approved extensions to support Python 3.3 as well we can
quickly achieve better Python 3 adoption and make using Python 3 easier
for users.
The effort of supporting both Python 2.7 and Python 3.3 is small enough
that it shouldn't be a problem to require this from extension authors.
2015-06-06 04:44:41 +02:00
Daniel Neuhäuser
53dd47ac8f
Drop Python 2.6 minimum requirement for extensions
...
Python 2.6 is not supported by python-dev anymore and does not get any
security updates. Even though Flask supports 2.6 at the moment, I think
it's not necessary for any extensions that are going to be approved in
the future to support 2.6.
2015-06-06 04:44:41 +02:00
Daniel Neuhäuser
84a9146b6c
Drop Extension==dev requirement
...
pip doesn't install links included in the description of projects
anymore. Therefore ==dev install doesn't work anymore.
2015-06-06 04:44:41 +02:00
Jeff Widman
aafb9d0fbd
Correct the order of suggested syntax for extension imports
...
According to https://github.com/mitsuhiko/flask/issues/1092#issuecomment-47118613 and https://github.com/mitsuhiko/flask/pull/1085#issuecomment-45466907 , the correct order to attempt to import extensions should be flask_foo, then flask.ext.foo, then flaskext_foo.
2015-06-06 04:43:22 +02:00
Markus Unterwaditzer
e48fde8176
Show original autodoc signatures
...
Alternative to #1403
2015-06-06 04:17:33 +02:00
Markus Unterwaditzer
f5cff2fa3f
Merge branch 'AndrewBMartin-patch-1'
2015-06-06 03:35:22 +02:00
Andrew
2a9385d8c3
Include backend argument when instantiating Celery
...
Not including the backend argument can lead to AttributeError:
DisabledBackend object has no attribute for '_get_task_meta_for'.
See e.g.
http://stackoverflow.com/questions/23215311/celery-with-rabbitmq-attributeerror-disabledbackend-object-has-no-attribute .
At the same time, including the backend argument doesn't seem to harm anything else.
2015-06-06 03:35:04 +02:00
Justin Poehnelt
7af629354e
fixed import of werkzeug secure_filename
2015-05-14 23:44:49 -07:00
Jon Banafato
138b28e17d
Add X-Forwarded-Proto to proxy setup example
...
The ProxyFix middleware provided by Werkzeug uses this header for
returning accurate values from request.is_secure and request.scheme.
Without adding this header, Flask won't properly detect when it is being
served over HTTPS and will fail to generate proper external links and
cause certain extensions (e.g. Flask-OAuthlib) to function improperly.
Adding this header to the example setup should reduce issues encountered
by developers when following this guide.
2015-05-09 12:29:53 -04:00
Ford Hurley
8d80857cc0
Mention that custom converters can be defined for url routes
2015-05-01 12:11:55 -04:00
Markus Unterwaditzer
eb1efd5098
Errorhandlers were NOT *added* in 1.0
2015-04-30 23:05:55 +02:00
Phil Schaf
b138a27f30
some details
2015-04-11 18:08:04 +02:00
Phil Schaf
739c1e4e5e
slimmed down error handling intro
2015-04-11 18:01:22 +02:00
Phil Schaf
f8e3819217
added info about an exception being raised for the old and broken behavior
2015-04-11 17:44:18 +02:00
Phil Schaf
55c0900452
Added docs for the error handler rework
2015-04-11 17:25:17 +02:00
Alex Chan
f4a53e97ea
Fix a few spelling mistakes in the docs
2015-04-03 20:43:40 +01:00
Markus Unterwaditzer
54e43d91bf
Merge pull request #1380 from KWinston/master
...
Add line of code required to run examples for Other Testing Tricks section
2015-04-02 01:57:06 +02:00
Charles Chan
1224aaa51a
Added OpenShift as a free hosting provider alternative
2015-03-31 16:13:29 -07:00
Torstein Krause Johansen
aecb94415d
Moved noted about HTTP 500 before the code examples
...
- as suggested by @keyan
2015-03-31 19:16:33 +02:00
Torstein Krause Johansen
b63389da16
Added note that @errorhandler(500) isn't triggered in debug mode
2015-03-31 17:35:29 +02:00
Winston Kouch
bac8e558a2
Add import flask module required to run code on Other Testing Tricks
2015-03-12 23:32:08 -04:00
Caleb Bron
7d19de620d
link to sqlalchemy declarative has changed
2015-03-12 10:26:06 -07:00
Winston Kouch
34c3adf33c
Add extensions section to Quickstart documentation
2015-03-11 23:54:09 -04:00
Markus Unterwaditzer
75a7d5b304
Fix broken link
2015-03-05 22:04:53 +01:00
Markus Unterwaditzer
da958a7f58
Merge pull request #1325 from bsutherland/rqst_properteis_doc_iri_patch
...
Clarify contents of request properties.
2015-03-05 22:03:54 +01:00
Markus Unterwaditzer
b945038f3a
Merge pull request #1354 from idrisr/master
...
improve grammar, make format consistent, and improve readability
2015-03-05 21:55:08 +01:00
Markus Unterwaditzer
7f31742059
Restructure Upload Progress Bars
...
- Removed dropzone.js, it hasn't been around long enough, maybe we need
to update this in two years again.
- jQuery should be a proper rst link.
2015-03-04 18:43:59 +01:00
Markus Unterwaditzer
76f3c29d93
Merge remote-tracking branch 'sourya/master'
2015-03-04 18:40:35 +01:00
Idris Raja
fc27254128
improve grammar, make format consistent, and improve readability
2015-02-19 09:57:56 -06:00
Jeff Widman
b6fe81d648
Grammer and readability fixes
2015-02-09 01:03:08 -08:00
Bruce Sutherland
547acbf3f2
Wrap text.
2015-01-22 09:12:18 +09:00
Bruce Sutherland
3ca13dc1cc
Show requested URI as suggested by untitaker.
2015-01-21 20:52:42 +09:00
Bruce Sutherland
479a4c3908
Update api.rst
...
Changed Japanese text to pi symbol, emphasize that values are unicode.
2015-01-21 15:00:38 +09:00
Bruce Sutherland
59bd9661ba
Clarify contents of request properties.
...
Change URL to IRI and update examples to include extended characters.
2015-01-21 14:09:30 +09:00
Carlos Eduardo Rivera
82765c7551
grammar fixes
2015-01-16 03:36:17 -06:00
Brett Gerry
9cf23c47df
deprecate TextField in favor of StringField
2015-01-13 14:47:41 -08:00
Jochen Kupperschmidt
cb4d93c140
Added missing import.
...
As this specific code block lists imports in general and an import from the `flask` package specifically, it should also include `g` for the sake of completeness.
2015-01-13 03:03:14 +01:00
Sourya Vatsyayan
a184d41295
Updated file uploads progress bar section
2015-01-04 13:00:51 +05:30
Sourya Vatsyayan
87d935d6fa
URL generation rule explained for file uploads
2015-01-03 23:32:51 +05:30
Sourya Vatsyayan
af9d25985c
URL generation rule explained
2015-01-03 20:30:30 +05:30