Commit graph

927 commits

Author SHA1 Message Date
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
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
Parkayun
e05771ff60 Happy New Year 2015 2015-01-02 11:35:00 +09:00
Sateesh
4f4c0cd801 Update quickstart.rst
Minor grammar correction.
2014-12-30 22:40:13 +05:30
Markus Unterwaditzer
de3de8d6bf Fix #1298 2014-12-30 12:08:17 +01:00
Nic Young
5281e04e51 Fix grammar in testing doc. 2014-12-29 22:11:17 -07:00
Wang Haowei
557f7be0fa fix typo 2014-12-25 11:52:11 +08:00
Markus Unterwaditzer
f115d30022 Merge pull request #1280 from jcomo/mongokit-doc-update
Update mongokit pattern
2014-12-17 13:28:24 +01:00
Jonathan Como
0e5185eb67 verbage 2014-12-16 23:52:43 -08:00
Kevin Yap
8b1337d85a Grammatical fixes in Foreword and Tutorial 2014-12-16 11:30:00 -08:00