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
Armin Ronacher
a9fc040c39
Updated documentation to use teardown request where appropriate
2011-05-27 20:21:41 +02:00
Matt Dawson
c1c20ac108
Modify extensionsdev documentation.
2011-03-14 19:23:56 -04:00
Sam Anderson
da00160db6
Fixed some small typos in the documentation.
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2011-03-13 21:14:06 -04:00
Ron DuPlain
6875a057ec
Fixed small typos in docs. Added a cross-ref.
2010-10-07 19:32:07 +08:00
jgraeme
ff2786d8af
Fix some typos in the docs
2010-08-03 18:07:40 +08:00
Armin Ronacher
3da165f2f5
Fixed typo
2010-07-26 17:14:17 +02:00
Armin Ronacher
27ce5cc0a1
Added another rule to the approval list. 2.5-2.7 compatibility
2010-07-26 16:02:36 +02:00
Armin Ronacher
312dfb4373
Mentioned zip_safe
2010-07-25 18:51:28 +02:00
Armin Ronacher
a7d83a9f80
Approved extensions must not be GPL
2010-07-25 14:59:31 +02:00
Armin Ronacher
b2fb2245f1
Fixed a word in the docs
2010-07-23 15:42:33 +01:00
Armin Ronacher
66c1395589
Fixed wording
2010-07-23 15:21:08 +01:00
Armin Ronacher
3adc9de5ec
Updated docs for extension approval process
2010-07-23 14:59:10 +01:00
Armin Ronacher
8837678a08
Changed extensiondev docs
2010-07-18 21:06:46 +02:00
jgraeme
540eca16f8
Fix some typos in the docs
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2010-06-10 21:54:38 +02:00
Simon Sapin
e3de5e6ca3
Typo in extension development docs.
2010-06-06 05:55:52 +08:00
Armin Ronacher
ee69fb5890
Added document about extension development
2010-05-31 21:14:27 +02:00