Commit Graph

927 Commits

Author SHA1 Message Date
Jeff Widman f80ea4fe5d Some grammar and typo fixes 2015-06-06 04:44:41 +02:00
Daniel Neuhäuser 2b58e6120c Fix wording 2015-06-06 04:44:41 +02:00
Daniel Neuhäuser b9938d0182 Don't allow namespace packages anymore 2015-06-06 04:44:41 +02:00
Daniel Neuhäuser b12d9762e7 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 3185f445c9 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 43d6b8a5fc 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 f05aeea6dd 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 d40288496c Show original autodoc signatures
Alternative to #1403
2015-06-06 04:17:33 +02:00
Markus Unterwaditzer 7a999cd4b8 Merge branch 'AndrewBMartin-patch-1' 2015-06-06 03:35:22 +02:00
Andrew 337a9d6172 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 17d7353d39 fixed import of werkzeug secure_filename 2015-05-14 23:44:49 -07:00
Ford Hurley d398780852 Mention that custom converters can be defined for url routes 2015-05-01 12:11:55 -04:00
Markus Unterwaditzer 73d89cccec Errorhandlers were NOT *added* in 1.0 2015-04-30 23:05:55 +02:00
Phil Schaf 290372faf1 some details 2015-04-11 18:08:04 +02:00
Phil Schaf 4437eb7ceb slimmed down error handling intro 2015-04-11 18:01:22 +02:00
Phil Schaf d4ad47af62 added info about an exception being raised for the old and broken behavior 2015-04-11 17:44:18 +02:00
Phil Schaf 9d3c4bbb8c Added docs for the error handler rework 2015-04-11 17:25:17 +02:00
Alex Chan 8570633214 Fix a few spelling mistakes in the docs 2015-04-03 20:43:40 +01:00
Markus Unterwaditzer b57a076fa3 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 6c56e4231f Added OpenShift as a free hosting provider alternative 2015-03-31 16:13:29 -07:00
Torstein Krause Johansen 557a053e3b Moved noted about HTTP 500 before the code examples
- as suggested by @keyan
2015-03-31 19:16:33 +02:00
Torstein Krause Johansen 5dd9335aac Added note that @errorhandler(500) isn't triggered in debug mode 2015-03-31 17:35:29 +02:00
Winston Kouch 6bbbb72843 Add import flask module required to run code on Other Testing Tricks 2015-03-12 23:32:08 -04:00
Caleb Bron c0593efbb2 link to sqlalchemy declarative has changed 2015-03-12 10:26:06 -07:00
Winston Kouch 5f8c850895 Add extensions section to Quickstart documentation 2015-03-11 23:54:09 -04:00
Markus Unterwaditzer 9c1cf1bc08 Fix broken link 2015-03-05 22:04:53 +01:00
Markus Unterwaditzer 7ae1c5a8b9 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 c282ab1ce2 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 0a492a09a8 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 9a61e7d571 Merge remote-tracking branch 'sourya/master' 2015-03-04 18:40:35 +01:00
Idris Raja 81e8bbbb7f improve grammar, make format consistent, and improve readability 2015-02-19 09:57:56 -06:00
Jeff Widman ffe0c54891 Grammer and readability fixes 2015-02-09 01:03:08 -08:00
Bruce Sutherland 0d86a89420 Wrap text. 2015-01-22 09:12:18 +09:00
Bruce Sutherland 871077c81c Show requested URI as suggested by untitaker. 2015-01-21 20:52:42 +09:00
Bruce Sutherland 77141c1eca Update api.rst
Changed Japanese text to pi symbol, emphasize that values are unicode.
2015-01-21 15:00:38 +09:00
Bruce Sutherland 3bbe869dd7 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 65465ffece grammar fixes 2015-01-16 03:36:17 -06:00
Brett Gerry 6517a1a37c deprecate TextField in favor of StringField 2015-01-13 14:47:41 -08:00
Jochen Kupperschmidt e3bb34ec24 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 a6ea6335a5 Updated file uploads progress bar section 2015-01-04 13:00:51 +05:30
Sourya Vatsyayan 50fef79b20 URL generation rule explained for file uploads 2015-01-03 23:32:51 +05:30
Sourya Vatsyayan d2a380451b URL generation rule explained 2015-01-03 20:30:30 +05:30
Parkayun 33534bb4a9 Happy New Year 2015 2015-01-02 11:35:00 +09:00
Sateesh b9eb805167 Update quickstart.rst
Minor grammar correction.
2014-12-30 22:40:13 +05:30
Markus Unterwaditzer bd2c8b631f Fix #1298 2014-12-30 12:08:17 +01:00
Nic Young 29ba05f5be Fix grammar in testing doc. 2014-12-29 22:11:17 -07:00
Wang Haowei 47b5c09ba6 fix typo 2014-12-25 11:52:11 +08:00
Markus Unterwaditzer b7dfa6c363 Merge pull request #1280 from jcomo/mongokit-doc-update
Update mongokit pattern
2014-12-17 13:28:24 +01:00
Jonathan Como bd4921194e verbage 2014-12-16 23:52:43 -08:00
Kevin Yap 23fc2e56a8 Grammatical fixes in Foreword and Tutorial 2014-12-16 11:30:00 -08:00