Commit Graph

66 Commits

Author SHA1 Message Date
David Lord e609dddd60
drop Python 3.6 2021-11-11 16:11:43 -08:00
Grey Li 76abbe9062 Remove the mention of Flask-OAuth in the extension dev docs 2021-02-19 22:59:09 +08:00
Grey Li 1580aa30cb Update Discord invite links 2020-07-21 12:11:17 +08:00
David Lord 171aabc87d
remove unused ref directives
replace page refs with doc directives
2020-04-04 12:57:14 -07:00
David Lord 5f5e8e5339
Merge branch '1.0.x' into 1.1.x 2019-09-23 12:10:55 -07:00
David Lord 6cde195c88
reword extension python version item 2019-09-23 11:59:59 -07:00
David Lord 746d9181d7
Merge branch '1.0.x' into 1.1.x 2019-09-23 08:38:11 -07:00
David Lord e01b68e7ee
update patterns, snippets, extensions docs 2019-09-23 08:19:40 -07:00
David Lord c42803f168
Merge branch '1.0.x' into 1.1.x 2019-07-22 13:31:05 -07:00
Grey Li 90004a83be
Update outdated extension doc
Remove links and descriptions relate to abandoned "Flask Extension
Registry" in documentation
2019-07-22 13:23:57 -07:00
David Lord 1351d0a565
Merge branch '1.0.x' 2019-06-23 16:57:52 -07:00
David Lord cb6272ccc8
fix docks linkcheck 2019-06-23 15:37:51 -07:00
David Lord 2236ba980c
Merge branch '1.0.x' 2019-05-16 12:18:36 -07:00
A Brooks 4e272fc042
Fix various small spelling errors. 2019-05-16 11:50:10 -07:00
David Baumgold 6606a4a238 fix RST line too long 2019-05-06 11:11:32 -04:00
venus 8c979698bd fix the typo 2019-01-12 21:42:06 +09:00
venus 99ad1f3cae fix the typo 2019-01-12 14:51:04 +08:00
David Lord 49a38ed999
use theme provided by pallets-sphinx-themes 2018-04-18 12:05:31 -07:00
David Lord 4462cc57c8
rewrite extension docs
remove old extension patterns
remove flask.ext from api docs
2018-02-28 07:52:03 -08:00
David Lord 28d0f66c1f
remove tests and docs for python 2.6 and 3.3 2017-12-16 07:00:00 -08:00
Kenneth Reitz 31174fecd2 resolve merge conflicts 2017-05-25 17:21:32 -04:00
Jeff Widman bb0e755c80 Migrate various docs links to https (#2180)
Also fixed a few outdated links
2017-02-11 10:43:11 +01:00
Adrian Moennich 88111ae6bf Do not suggest deprecated flask.ext.* 2017-01-10 13:12:18 +01:00
Armin Ronacher f9ea3fe026 1.0 -> 0.11 in the docs 2016-05-26 20:52:17 +02:00
Stefan Wójcik e45e17c490 fix a grammar mistake (#1798) 2016-05-05 19:27:45 +02:00
Markus Unterwaditzer d3d8a4694a Deprecate flask.ext
* Add deprecation warning to ext pkg

* Add docs on deprecation of flask.ext

* Improve deprecation warnings

* Add headers for better distinction, fix ordering issue of paragraphs
2016-04-02 21:06:30 +02:00
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
defuz 663802e976 docs: ``with``, ``for``, ``self`` 2014-11-05 07:39:54 +03:00
defuz a8f570cc62 docs: :file:`app.py`, :file:`yourapp/templates` 2014-11-05 06:45:22 +03:00
Daniel Neuhäuser e89c867d62 Switch packages.python.org to pythonhosted.org 2014-04-26 01:35:37 +02:00
Thomas Waldmann 40fad2ece8 document python 2.6 minimum requirement, remove all stuff that refers to 2.5 2013-05-18 17:06:25 +02:00
INADA Naoki be0b5196bf Update docs/extensiondev.rst
Use `current_app` instead of `self.app`.
2012-12-13 19:03:54 +09:00
Natan L 99aaacb1a9 Emended extensiondev.rst. 2012-05-30 20:23:02 -07:00
Ron DuPlain a3cb2a3382 Use American English for "behavior" in docs.
Prompted by plaes on #pocoo, mitsuhiko confirmed to use American English.
2012-04-19 11:51:38 -04:00
Armin Ronacher 52f9cefbcd More documentation updates for 0.9 2012-04-09 17:35:16 +01:00
Armin Ronacher 32f845ea75 Added an example for using the db connection without the request 2012-04-09 17:33:14 +01:00
Armin Ronacher 9bed20c07c Added documentation for appcontext and teardown handlers 2012-04-09 17:29:00 +01:00
Ron DuPlain a5d1cf415e Merge pull request #440 from jamesls/extension-docs
Reword the docs for writing a flask extension
2012-03-13 17:00:18 -07:00
Ron DuPlain c1a2e3cf14 Add Rule #0 to extension development. 2012-03-13 13:41:03 -07:00
James Saryerwinnie 8d1546f8e6 Reword the docs for writing a flask extension
There was a minor bug in the example extension that's
been fixed.

I also updated the description of the fixed code accordingly, and
expanded on the usage of _request_ctx_stack.top for adding data
that should be accesible to view functions.

I verified that the existing code as is works as expected.
2012-03-12 16:28:39 -07:00
Matt Dawson 2d237f3c53 Fix grammar in extension dev docs. 2012-03-12 10:57:00 -07:00
FND 4aebc267bc Hyphenate "class-based"
makes it more readable
2012-01-31 13:54:52 +01:00
Armin Ronacher 0719ad5f4f Documented new import system for extensions 2011-09-18 13:03:05 +02:00
Armin Ronacher 086ecdb918 Better reraising of exceptions 2011-05-28 15:11:48 +02:00