Jeff Widman
f80ea4fe5d
Some grammar and typo fixes
10 years ago
Daniel Neuhäuser
2b58e6120c
Fix wording
10 years ago
Daniel Neuhäuser
b9938d0182
Don't allow namespace packages anymore
10 years ago
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.
10 years ago
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.
10 years ago
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.
10 years ago
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.
10 years ago
Markus Unterwaditzer
d40288496c
Show original autodoc signatures
...
Alternative to #1403
10 years ago
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.
10 years ago
Justin Poehnelt
17d7353d39
fixed import of werkzeug secure_filename
10 years ago
Jon Banafato
887d382da1
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.
10 years ago
Ford Hurley
d398780852
Mention that custom converters can be defined for url routes
10 years ago
Markus Unterwaditzer
73d89cccec
Errorhandlers were NOT *added* in 1.0
10 years ago
Phil Schaf
290372faf1
some details
10 years ago
Phil Schaf
4437eb7ceb
slimmed down error handling intro
10 years ago
Phil Schaf
d4ad47af62
added info about an exception being raised for the old and broken behavior
10 years ago
Phil Schaf
9d3c4bbb8c
Added docs for the error handler rework
10 years ago
Alex Chan
8570633214
Fix a few spelling mistakes in the docs
10 years ago
Charles Chan
6c56e4231f
Added OpenShift as a free hosting provider alternative
10 years ago
Torstein Krause Johansen
557a053e3b
Moved noted about HTTP 500 before the code examples
...
- as suggested by @keyan
10 years ago
Torstein Krause Johansen
5dd9335aac
Added note that @errorhandler(500) isn't triggered in debug mode
10 years ago
Winston Kouch
6bbbb72843
Add import flask module required to run code on Other Testing Tricks
10 years ago
Caleb Bron
c0593efbb2
link to sqlalchemy declarative has changed
10 years ago
Winston Kouch
5f8c850895
Add extensions section to Quickstart documentation
10 years ago
Markus Unterwaditzer
9c1cf1bc08
Fix broken link
10 years ago
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.
10 years ago
Idris Raja
81e8bbbb7f
improve grammar, make format consistent, and improve readability
10 years ago
Jeff Widman
ffe0c54891
Grammer and readability fixes
10 years ago
Philip House
c60b5b91e2
Update api.rst, fixed spelling
10 years ago
Bruce Sutherland
0d86a89420
Wrap text.
10 years ago
Bruce Sutherland
871077c81c
Show requested URI as suggested by untitaker.
10 years ago
Bruce Sutherland
77141c1eca
Update api.rst
...
Changed Japanese text to pi symbol, emphasize that values are unicode.
10 years ago
Bruce Sutherland
3bbe869dd7
Clarify contents of request properties.
...
Change URL to IRI and update examples to include extended characters.
10 years ago
Carlos Eduardo Rivera
65465ffece
grammar fixes
10 years ago
Brett Gerry
6517a1a37c
deprecate TextField in favor of StringField
10 years ago
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.
10 years ago
Sourya Vatsyayan
a6ea6335a5
Updated file uploads progress bar section
10 years ago
Sourya Vatsyayan
50fef79b20
URL generation rule explained for file uploads
10 years ago
Sourya Vatsyayan
d2a380451b
URL generation rule explained
10 years ago
Parkayun
33534bb4a9
Happy New Year 2015
10 years ago
Sateesh
b9eb805167
Update quickstart.rst
...
Minor grammar correction.
10 years ago
Markus Unterwaditzer
bd2c8b631f
Fix #1298
10 years ago
Nic Young
29ba05f5be
Fix grammar in testing doc.
10 years ago
Wang Haowei
47b5c09ba6
fix typo
10 years ago
Jonathan Como
bd4921194e
verbage
10 years ago
Kevin Yap
23fc2e56a8
Grammatical fixes in Foreword and Tutorial
10 years ago
Jonathan Como
a8498b6859
update mongokit patterng
10 years ago
Kevin Yap
475d7076f0
Standardized capitalization of "GitHub" in docs
10 years ago
Prakash Pandey
4d8cba917e
Fixed wording
10 years ago
pkuphy
fbe3e81818
Update api.rst
...
is an -> if a
10 years ago